vdo.ninja
vdo.ninja copied to clipboard
add an extension to the browser view link that automatically tells the browser to pip the window to the top of the screen?
Michelle Michelson — Today at 10:38 AM @steve in chrome, after you hit play on the view link — there’s three dots that you can hover over and choose ‘picture in picture’. It lets you ‘pip’ the video source w/ out the browser to anywhere on your monitor.
- [ ] Trigger PIP on iOS devices
- [ ] Self-Preview PIP
- [ ] Defaults to on on &broadcast
So there's this for safari:
document.querySelector("video").webkitSetPresentationMode("picture-in-picture")
and the w3c way:
document.querySelector('video').requestPictureInPicture();
If anyone wants to prototype a small snippet of code that demonstrates it, I can pop it into place, Saves me from having to do research and tinkering. otherwise, I might find time later today to work on it.
I closed down #570 #609 #612 and added them as checkbox tasks on the issue. This should help with tracking everything PIP related.
I know that this has landed on /alpha. Still leaves room to debate wether this should the default on &broadcast, even without &pip, and whats the deal with iOS devices?
I understand there's still much to go through before this is "final", but just wanted to raise some awareness from the community to this.