showing results for - "iframe video speed"
Lola
17 Sep 2018
1function feAdjustVideoPlaybackInFrame(frame, playbackRate) {
2  var i;
3  for (i=0; i<frame.frames.length; i++) {
4    try {
5      feAdjustVideoPlaybackInFrame(frame.frames[i], playbackRate);
6      frame.frames[i].document.querySelector('video').playbackRate = playbackRate;
7    }
8    catch(e) {};
9  }
10}
11feAdjustVideoPlaybackInFrame(window, 1.5);
12