Skip to content

Start Amazon instant video in Safari and use Picture in Picture Mode.

License

Notifications You must be signed in to change notification settings

mulian/amazon-safari-pip-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

amazon-safari-pip-mode

Start Amazon instant video in Safari (macOS) and use Picture in Picture Mode.

Steps:

  1. Start stream on amazon
  2. Open console (Web Inspector) (CMD+ALT+i)
  • Safari dev. tools should be aktivated how to
  1. Past this:
function startPiP() { 
  var videos = document.getElementsByTagName('video'); 
  for(vid in videos) { 
    if(videos[vid].src) videos[vid].webkitSetPresentationMode("picture-in-picture"); 
  } 
}
startPiP();
  • Sometimes you need to click Pause and then play before you run this code.
  1. Ready (Close Inspector)

About

Start Amazon instant video in Safari and use Picture in Picture Mode.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published