Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 727 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 727 Bytes

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)