4 ms·
Was also disappointed to find that browser picture in picture support was limited to a video element. Wish I could just use it on any element, like with fullscr
by difosfor 6y ago
Was also disappointed to find that browser picture in picture support was limited to a video element. Wish I could just use it on any element, like with fullscreen.
I can imagine some complexity as explained. But for example it seems reasonable to me to limit browser panel/PiP support to a single element at a time like it is now for video to avoid some of that.
This looks interesting!
- mistersquid 6y ago> Was also disappointed to find that browser picture in picture support was limited to a video element. Wish I could just use it on any element, like with fullscreen. I have not yet experimented, but perhaps a video element can be styled or injected with HTML/CSS to present non-video content.
- difosfor 6y agoYou can hook up a canvas element to be a source for a video element. But that's not very useful to me.