Last active
August 13, 2024 16:47
-
-
Save uahim/95bfe3a47c0d0c1d02e0eb9c3a344369 to your computer and use it in GitHub Desktop.
html5 video play/pause toggle universal bookmarklet incl. zattoo condition
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: var v; if (location.host == "zattoo.com" ) { v = document.getElementById("player_video_node") } else { v = document.getElementsByTagName("video")[0] } v.paused == false ? v.pause() : v.play(); void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment