Why Nostr? What is Njump?
2024-03-11 20:06:45

Christian Selig on Nostr: Web dev question: I'm having a weird issue where I add an eventListener to a YouTube ...

Web dev question: I'm having a weird issue where I add an eventListener to a YouTube element, event properly fires, but if within the event I add a setInterval, the interval temporarily stops while ads play, and resumes after. How? setInterval was clearly "queued up" properly since it starts/stops, and I thought it was independent of the element?

Am I just not understanding event listeners? 😛

Author Public Key
npub1me4dmfx38938e68eeuz77f78e5w7nz2nv0jlxqmx0amphmp3sutq6s0ues