Created
May 2, 2024 21:41
-
-
Save JeremyJaydan/27e2a395d9c6b4587d3e3af8c4b9c79b to your computer and use it in GitHub Desktop.
picture in picture mode for safari
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
(function() {var video; document.querySelectorAll('video').forEach(function(vid) { if (!vid.paused) video = vid; }); if (video) { video.webkitSetPresentationMode('picture-in-picture') } })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment