Current Behavior:
When focusing the tab playing the video, the onTimeUpdate-event is triggering correctly. As soon as I switch to another tab, it stops.
Expected Behavior:
When a tab is not in focus, but the video is still playing, the onTimeUpdate-event should also still play.
Steps To Reproduce:
- Using latest Google Chrome/Edge on Windows/Mac.
- Start playing a video and log the current time by listening to the
onTimeUpdate-event.
- Switch to another tab for 10 seconds, and then refocus the tab playing the video.
- Look at the logs and see 10 seconds of log data missing.
Environment:
Framework: React (Vite)
Node: 18
Device: Macbook Pro / Microsoft Surface Pro
Browser: Chrome (latest), Edge (latest)
Current Behavior:
When focusing the tab playing the video, the
onTimeUpdate-event is triggering correctly. As soon as I switch to another tab, it stops.Expected Behavior:
When a tab is not in focus, but the video is still playing, the
onTimeUpdate-event should also still play.Steps To Reproduce:
onTimeUpdate-event.Environment:
Framework: React (Vite)
Node: 18
Device: Macbook Pro / Microsoft Surface Pro
Browser: Chrome (latest), Edge (latest)