Created
July 7, 2019 18:17
-
-
Save ronka/c49f9771c529b5bf8fcfef662f51cba2 to your computer and use it in GitHub Desktop.
change openu video speed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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