Last active
February 16, 2017 20:02
-
-
Save umer936/13d29714a272ff24b2f5d2554d4f1125 to your computer and use it in GitHub Desktop.
Change playback rate on JWPlayer Flash videos. Credit to Hitesh on StackOverflow.
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
innerDoc = document.getElementsByClassName("jwplayer"); | |
var getVideo = innerDoc[0].getElementsByTagName('video')[0]; | |
var newspeed = prompt("Current Speed: " + getVideo.playbackRate + "\nNew Speed: "); | |
getVideo.playbackRate = newspeed; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://chrome.google.com/webstore/detail/jw-player-tools/fednaeiplchhkllgfcejgbjpjokegkha
https://github.com/umer936/JWPlayerTools