Created
December 9, 2019 15:04
-
-
Save vicenteherrera/e165d62d8f98e281ea0ac1c943e7a97f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:%20function%20startPiP()%20%7B%20%20%20%20var%20videos%20=%20document.getElementsByTagName('video');%20%20%20%20for(vid%20in%20videos)%20%7B%20%20%20%20%20%20if(videos%5Bvid%5D.src)%20videos%5Bvid%5D.webkitSetPresentationMode(%22picture-in-picture%22);%20%20%20%20%7D%20%20%7D%20startPiP(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment