Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-09 Thread Chris Pearce
On Wednesday, August 8, 2018 at 4:58:28 PM UTC-7, Jan-Ivar Bruaroey wrote: > On 8/8/18 12:43 PM, Chris Pearce wrote: > > Hi Jib, > > > > I appreciate that you care passionately about our users' best interests. > > > > Seeing as you asked "why don't you just?"... Here's why we "didn't just"... > >

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Jan-Ivar Bruaroey
On 8/8/18 12:43 PM, Chris Pearce wrote: Hi Jib, I appreciate that you care passionately about our users' best interests. Seeing as you asked "why don't you just?"... Here's why we "didn't just"... On Tuesday, August 7, 2018 at 7:51:50 PM UTC-7, Jan-Ivar Bruaroey wrote: On 8/6/18 4:03 PM, Jan-

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Jan-Ivar Bruaroey
On 8/8/18 12:53 PM, Boris Zbarsky wrote: On 8/8/18 12:43 PM, Chris Pearce wrote: On Tuesday, August 7, 2018 at 7:51:50 PM UTC-7, Jan-Ivar Bruaroey wrote: To clarify, I care about Netflix, which is why I question giving up on persisting autoplay for them, which is what allowedToPlay does. So I

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Chris Pearce
On Wednesday, August 8, 2018 at 9:54:06 AM UTC-7, Boris Zbarsky wrote: > On 8/8/18 12:43 PM, Chris Pearce wrote: > > On Tuesday, August 7, 2018 at 7:51:50 PM UTC-7, Jan-Ivar Bruaroey wrote: > >> To clarify, I care about Netflix, which is why I question giving up on > >> persisting autoplay for them

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Boris Zbarsky
On 8/8/18 1:00 PM, Chris Pearce wrote: Google weren't keen on that idea as it doesn't map well to their implicit MEI method. Right, that's the "hard problem" bit. Feels like we should maybe be able to find non-Google allies here, especially if we have some weasel-wording in the spec about ho

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Boris Zbarsky
On 8/8/18 12:43 PM, Chris Pearce wrote: On Tuesday, August 7, 2018 at 7:51:50 PM UTC-7, Jan-Ivar Bruaroey wrote: To clarify, I care about Netflix, which is why I question giving up on persisting autoplay for them, which is what allowedToPlay does. So I have a question. Would it be at all usef

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-08 Thread Chris Pearce
Hi Jib, I appreciate that you care passionately about our users' best interests. Seeing as you asked "why don't you just?"... Here's why we "didn't just"... On Tuesday, August 7, 2018 at 7:51:50 PM UTC-7, Jan-Ivar Bruaroey wrote: > On 8/6/18 4:03 PM, Jan-Ivar Bruaroey wrote: > > On 8/1/18 3:36 A

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-07 Thread Jan-Ivar Bruaroey
On 8/6/18 4:03 PM, Jan-Ivar Bruaroey wrote: On 8/1/18 3:36 AM, Chris Pearce wrote: I think the only thing that you're missing is how vehemently some sites are in their desire to avoid the doorhanger prompt. No, I'm also missing why we should listen to them. If Netflix fights our doorhanger, t

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-06 Thread Boris Zbarsky
On 8/6/18 4:03 PM, Jan-Ivar Bruaroey wrote: whereas our plan for that was to ask users once, with a "remember=yes" prompt. For what it's worth, I've been getting this prompt a _lot_ recently; presumably I finally updated to a nightly that does the prompt. As a user, I have been tending to un

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-06 Thread Jan-Ivar Bruaroey
On 8/1/18 3:36 AM, Chris Pearce wrote: On Tuesday, July 31, 2018 at 9:05:03 AM UTC+12, Jan-Ivar Bruaroey 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 HTMLMediaEl

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-08-01 Thread Chris Pearce
On Tuesday, July 31, 2018 at 9:05:03 AM UTC+12, Jan-Ivar Bruaroey 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 w

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-07-31 Thread Adam Gashlin
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

Re: Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-07-30 Thread Jan-Ivar Bruaroey
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 poli

Intent to implement and ship: HTMLMediaElement.allowedToPlay

2018-07-29 Thread Chris Pearce
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