MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / startOverlayTimer

Function startOverlayTimer

frontend/src/components/FloatingVideo.jsx:228–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226
227 // Start overlay auto-hide timer
228 const startOverlayTimer = () => {
229 if (overlayTimeoutRef.current) {
230 clearTimeout(overlayTimeoutRef.current);
231 }
232 overlayTimeoutRef.current = setTimeout(() => {
233 setShowOverlay(false);
234 }, 4000); // Hide after 4 seconds
235 };
236
237 // Initialize VOD player (native HTML5 with enhanced controls)
238 const initializeVODPlayer = () => {

Callers 2

handleCanPlayFunction · 0.85
FloatingVideoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected