w3c / picture-in-picture

Picture-in-Picture (PiP)
https://w3c.github.io/picture-in-picture
Other
311 stars 42 forks source link

Simultaneous Video and Canvas PIP #209

Closed Xaekai closed 2 years ago

Xaekai commented 2 years ago

The API should allow for multiple elements to share a single pip. My desired use case is a canvas overlayed atop a video to facilitate closed captions for the hearing impaired and text tracks for videos in languages foreign to the viewer.

chrisn commented 2 years ago

I believe that this use case would by enabled by the proposed Document Picture-in-Picture API, see https://discourse.wicg.io/t/proposal-document-picture-in-picture/5736 for details and to mention your use case there.

Xaekai commented 2 years ago

Thank you. I will.