Eric Carlson
Eric Carlson
> > While Safari only supports PiP on `` elements, it _does_ include shadow DOM elements in its PiP renderings. WebKit does render captions and subtitles in the PiP window,...
> Just an FYI about this - in all browsers beside Safari we render our captions/subtitles ourselves due to lack of proper support for styling - and this comes from...
@OrenMe > > And what about the ability of a user to have their caption styling preferences honored? > > @eric-carlson you are right, I forgot to mention that in...
> @eric-carlson thanks for the reply, I was in FOMS but unfortunately I don't recall anything about `Custom rendered cues` so am very curious to know more details related to...
> Without the ability to programmatically trigger picture-in-picture or be aware of when picture-in-picture is occurring, we are unable to offer some great user experiences that involve browsing content during...
> There will be no good solutions but only bandaid that will make the problem less painful and here taking a move to block abuse is important and preempting moves...
> For info, this causes some real UX issues as websites stop Picture-in-Picture after entering it to disallow it. See https://twitter.com/firt/status/1307083085666750468 and https://www.theverge.com/2020/9/18/21445912/youtube-videos-website-picture-in-picture-ios-14-google-apple-premium > "Websites do terrible things, so lets...
Unfortunately, iOS WebKit has to block PiP for video elements backed by a MediaStream because the system doesn't allow camera capture when an application is in the background.
> I ran a test with Firefox, Safari and Chrome to see how they're handling this nowadays. > > The test consists in the following steps: > > 1. Assign...
WebKit doesn't trim, it uses letterbox scaling: the video's clean aperture rectangle is scaled to fit completely in the destination size. If the destination pixel aspect ratio is different, the...