vdo.ninja icon indicating copy to clipboard operation
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?

Open steveseguin opened this issue 3 years ago • 4 comments

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

steveseguin avatar Mar 26 '21 14:03 steveseguin

So there's this for safari:

document.querySelector("video").webkitSetPresentationMode("picture-in-picture")

and the w3c way:

document.querySelector('video').requestPictureInPicture();

jcalado avatar Mar 26 '21 15:03 jcalado

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.

steveseguin avatar Mar 26 '21 15:03 steveseguin

I closed down #570 #609 #612 and added them as checkbox tasks on the issue. This should help with tracking everything PIP related.

jcalado avatar Mar 27 '21 08:03 jcalado

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.

jcalado avatar Mar 27 '21 21:03 jcalado