Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Video attribute 'muted' not applied in Firefox #6887
Steps to reproduce
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.
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