I don't think that Netflix would accept allowedToPlay == false for media
which is the whole point of visiting a page. They probably wouldn't even
check it then, instead allowing for the possibility that the user will be
prompted or that it just won't autoplay if they expressed that preference.
This feature doesn't help in such cases, but I don't see how it hurts. I
guess there's a possibility for overzealous postering.

On Mon, Jul 30, 2018 at 2:04 PM, Jan-Ivar Bruaroey <j...@mozilla.com> wrote:

> On 7/29/18 10:39 PM, Chris Pearce wrote:
>
>> Summary: HTMLMediaElement.allowedToPlay allows web authors to determine
>> in advance of calling HTMLMediaElement.play() whether the HTMLMediaElement
>> in its current state would be allowed to play, or would be blocked by the
>> browser's autoplay blocking policies.
>>
>> This is useful to web authors as if they can't autoplay they may prefer
>> to download a poster image instead of paying the price of downloading media
>> data.
>>
>> This feature is particularly useful for Firefox, as web authors can poll
>> HTMLMediaElement.allowedToPlay to determine whether a permission prompt
>> would show if they were to call play().
>>
>
> Doesn't this amputate the user flow we just implemented?
>
> Without this attribute, Netflix queues up rich media, Firefox asks the
> user if they want autoplay, who answers "Duh, it's Netflix", and levels up
> to auto-playing Netflix forever.
>
> With this attribute, Netflix sees HTMLMediaElement.allowedToPlay == false,
> and downloads a poster image instead. User must click to get engaging
> media, which now takes longer to load, and they never level up to
> auto-playing Netflix?
>
> Doesn't seem like an improvement. Am I missing something?
>
> .: Jan-Ivar :.
>
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to