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

muted on local video doesn't work? #523

Open
rben01 opened this issue Nov 20, 2023 · 1 comment
Open

muted on local video doesn't work? #523

rben01 opened this issue Nov 20, 2023 · 1 comment

Comments

@rben01
Copy link

rben01 commented Nov 20, 2023

In asciidoctor-reveal.js a simple video block like

video::./my-vid.mp4[options="autoplay,muted"]

does autoplay, but is not muted — indeed, muted is nowhere to be found in the resulting HTML.

This issue appears to be fixed in Asciidoctor proper (see asciidoctor/asciidoctor#3408); maybe that just needs to make its way into asciidoctor-reveal.js?

@ggrossetie
Copy link
Member

This issue appears to be fixed in Asciidoctor proper (see asciidoctor/asciidoctor#3408); maybe that just needs to make its way into asciidoctor-reveal.js?

You're probably right.
To support this feature, you will need to copy/paste/adapt the code from Asciidoctor into https://github.com/asciidoctor/asciidoctor-reveal.js/blob/master/templates/video.html.slim

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

No branches or pull requests

2 participants