MCPcopy
hub / github.com/ocsjs/ocsjs / fixProcessBar

Function fixProcessBar

packages/scripts/src/projects/zhs.ts:3599–3607  ·  view source on GitHub ↗

固定视频进度

()

Source from the content-addressed store, hash-verified

3597}
3598/** 固定视频进度 */
3599function fixProcessBar() {
3600 const bar = document.querySelector<HTMLElement>('.controlsBar');
3601 if (bar) {
3602 bar.style.display = 'block';
3603 // 适配 wisdomh5
3604 bar.style.zIndex = '2';
3605 bar.style.overflow = '';
3606 }
3607}
3608
3609function closeDialogRead() {
3610 const div = document.querySelector<HTMLElement>('.dialog-read');

Callers 4

oncompleteFunction · 0.85
doWorkFunction · 0.85
setFunction · 0.85
watchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected