MCPcopy Create free account
hub / github.com/Moebytes/Frame-Player / resetTimers

Function resetTimers

components/VideoPlayer.tsx:684–687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

682
683 useEffect(() => {
684 const resetTimers = () => {
685 lastTime = 0
686 acc = 0
687 }
688 if (paused) resetTimers()
689
690 window.addEventListener("resize", resetTimers)

Callers 1

VideoPlayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected