Skip to content

Instantly share code, notes, and snippets.

@ronka
Created July 7, 2019 18:17
Show Gist options
  • Save ronka/c49f9771c529b5bf8fcfef662f51cba2 to your computer and use it in GitHub Desktop.
Save ronka/c49f9771c529b5bf8fcfef662f51cba2 to your computer and use it in GitHub Desktop.
change openu video speed
var speed = 2;
var iframe = document.getElementById('iframe_player');
var innerDoc = iframe.contentDocument || iframe.contentWindow.document;
innerDoc.getElementsByTagName('video')[0].playbackRate = speed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment