Created
February 11, 2018 22:00
-
-
Save zats/5514229f33bc5a6d01322fdfe854c210 to your computer and use it in GitHub Desktop.
Bookmarklets for fullscreen, entering picture-in-picture, switching between fast and normal playback
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:document.getElementsByTagName('video')%5B0%5D.webkitEnterFullscreen() |
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:(function()%7B%0A%20%20var%20video%20%3D%20document.getElementsByTagName('video')%5B0%5D%3B%0A%20%20video.playbackRate%20%3D%20video.playbackRate%20%3D%3D%201%20%3F%201.5%20%3A%201%3B%0A%20%20video.play()%3B%7D)() |
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:(function()%7Bvar%20video%20%3D%20document.getElementsByTagName('video')%5B0%5D%3Bvideo.play()%3Bvideo.webkitSetPresentationMode(video.webkitPresentationMode%20%3D%3D%3D%20%22picture-in-picture%22%20%3F%20%22inline%22%20%3A%20%22picture-in-picture%22)%7D)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment