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

Automatically play audio from one chapter to the next #3

Open
marisademeglio opened this issue Oct 20, 2021 · 1 comment
Open

Automatically play audio from one chapter to the next #3

marisademeglio opened this issue Oct 20, 2021 · 1 comment

Comments

@marisademeglio
Copy link
Member

marisademeglio commented Oct 20, 2021

When one HTML page's audio narration ends, the next page in the sequence is automatically loaded. But the audio doesn't keep playing automatically due to browsers' autoplay policies.

I would like the browser to ask the user to grant permission for autoplay across all the documents in the book, something like:

Browser: Grant media autoplay for https://BookProvider.com/BookTitle/* ?
User: Yes please thank you

The result would be that all pages at that address can now automatically play media.

TODOs for the time being:

marisademeglio referenced this issue Oct 20, 2021
Selectively try to autoplay pages depending on if the user was listening to the previous page in the sequence (aka spine) and came to this page automatically.

Autoplay itself however does not work (see https://github.com/daisy/accessible-books-on-the-web/issues/3)
@marisademeglio
Copy link
Member Author

noting this here to read later w3c/autoplay#13 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant