Video stops looping

Long story short: I have a video set to loop, running in a standalone app on an iPad. Sometimes, when leaving the video page then returning, the video pauses. I’d like it not to pause.

Is there a way to listen whether a video is playing, and if it is not, make it continue playing where it left off?


I think you’d need to probably add a page visibility handler to the video element with javascript. There’s an example of doing just this (pausing/playing video) on the MDN page for the page visibility API:

Worked like a charm!

Thank you for the help, and thank you for Hype! :wink: