Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML <media> elements keep playing after turning pages #145

Open
mickael-menu opened this issue Jan 21, 2021 · 0 comments
Open

HTML <media> elements keep playing after turning pages #145

mickael-menu opened this issue Jan 21, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mickael-menu
Copy link
Member

See the same issue on iOS: readium/swift-toolkit#121

A possible solution could be to send an event when a resource is not visible anymore and loop over all the media/audio/video elements to pause them (i.e. https://stackoverflow.com/questions/20362138/stop-all-html5-audio-video-with-javascript)

@mickael-menu mickael-menu added the bug Something isn't working label Jan 21, 2021
@mickael-menu mickael-menu added the good first issue Good for newcomers label Mar 15, 2021
@mickael-menu mickael-menu transferred this issue from readium/r2-navigator-kotlin Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant