Seamless video experience with floating video mode.
Seamless video experience with floating video mode. Simply click on the icon in your browser to begin. It is draggable, resizable, has a play/pause button, an exit button, and a return to tab button.
It uses built-in Google Chrome PIP API, so it should work on every website. However, unlike https://github.com/GoogleChromeLabs/picture-in-picture-chrome-extension, we do not run trackers that collects and sends data to Google Analytics or run pop-ups. Google tracks various user interactions such as page views, events, transactions, and social interactions on a website ultimately to improve their application, however, my code has removed all of that. Feel free to take a look at both -- the code is very similar (I ended up borrowing their variable names and structure after writing the first working draft of my code.)
Many websites use this type of code to support their own PIP player.
You don't have to give me credit for using this code.
https://github.com/jacobluanjohnston/Picture-in-Picture-Mode-for-Google-Chrome