Hi Chris,

Very excited to see Firefox going forward with autoplay blocking. A couple of 
comments inline.

On Tue, 3 Jul 2018, at 19:38, Chris Pearce wrote:
> DETAILS:
> 
> We intend to block autoplay of HTMLMediaElement in tabs which haven't 
> had user interaction. Web authors should assume that they require a user 
> gesture (mouse click on a "play" button for example) in order to play 
> audible media.

I assume you will not allow autoplay when navigating into the same website? 
What about iframes? Will they be allowed to autoplay if the main frame is 
allowed to? Will the feature policy be used instead?

> HTMLMediaElements with a "muted" attribute or "volume=0" are still 
> allowed to play.

Chrome and Safari allows autoplay only when the playback is muted. The spec 
allows side effect for setting `muted = false;`. What will happen for a website 
that changes the volume from 0 to something else?

Also, will autoplay be allowed when the video has no audio track?

-- Mounir
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to