Answers for "iframe video speed"

0

iframe video speed

function feAdjustVideoPlaybackInFrame(frame, playbackRate) {
  var i;
  for (i=0; i<frame.frames.length; i++) {
    try {
      feAdjustVideoPlaybackInFrame(frame.frames[i], playbackRate);
      frame.frames[i].document.querySelector('video').playbackRate = playbackRate;
    }
    catch(e) {};
  }
}
feAdjustVideoPlaybackInFrame(window, 1.5);
Posted by: Guest on July-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language