-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Video attribute 'muted' not applied in Firefox #6887
Comments
Curiously you can use |
Reduced reproduction: var a = document.createElement('video')
a.setAttribute('muted', true)
a.setAttribute('controls', true)
a.innerHTML = '<source src="https://tyfc.co/static/videos/bill.webm" type="video/webm"></source>'
document.body.appendChild(a) Firefox won't respect attribute set on |
@HerringtonDarkholme Is this a Firefox problem then? |
@HerringtonDarkholme Thanks for this. I will use it for the time being. Is the next step to file a bug with Firefox? |
I don't think it's a firefox bug actually. |
This comment was marked as outdated.
This comment was marked as outdated.
Unfortunately this doesnt work for me. Cant get muted to be rendered out to the video element at all still. |
Version
2.5.2
Reproduction link
https://codepen.io/madsfaerch/pen/XewjNb
Steps to reproduce
#app
containing a video element withmuted="muted"
.What is expected?
That the video plays muted and controls show muted.
What is actually happening?
The video plays unmuted and the controls show unmuted. This is especially an issue with autoplaying videos.
Reproduced in Firefox 56.0 and FirefoxDeveloperEdition 57.0b10 on different machines running either macOS Sierra or High Sierra.
The text was updated successfully, but these errors were encountered: