HTMLMediaElement.mozAutoplayEnabled has been removed

Published: | Categories: Audio & Video, DOM


The non-standard mozAutoplayEnabled boolean property on the HTMLMediaElement interface, that returns if media autoplay is enabled in the browser, has been removed with Firefox 59 as it has never been standardized.

Web developers should basically avoid using the autoplay functionality because it leads to a poor user experience in many cases. Still, it’s possible to start playing media programmatically instead of with the autoplay attribute on the element.