diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -19,12 +19,11 @@ const observer = new IntersectionObserver(entries => { } }, { threshold: [...Array(THRESHOLD_FIDELITY).keys()].map(num => num/THRESHOLD_FIDELITY), - rootMargin: '-50px', + rootMargin: '-50px' }); // after two seconds pause the video setTimeout(() => { - console.log('fired') videoTitle.pause(); videoTitle.currentTime = 2; observer.observe(videoTitle); |