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, which is what allowedToPlay does. > > So I have a question. Would it be at all useful to have an explicit way > for a site to ask for a persistent permission grant (as opposed to the > implicit "just try to play something")? Would netflix use that? Or > would they avoid it for the same reasons as their current avoidance of > the prompt? Assuming sites would use it, would we be able to sell other > browsers on such an API? > > There's a hard problem here at heart where the APIs are being designed > around the UX, and the different browsers have very different UX goals, > afaict. > > -Boris
I think that's a good idea. I had proposed that autoplay-media permissions be exposed as part of the Permisisons API here https://github.com/w3c/permissions/issues/172 which I think would mean that they could be explicitly requested? Google weren't keen on that idea as it doesn't map well to their implicit MEI method. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform