This is a small JavaScript library for use with the JW Player. It creates five dock buttons on the player to control the playback rate (HTML5 mode only). Speeds are set to 1/4, 1/2, 1, 1.5X, 2X.
The file speed.js simply needs to be loaded unerneath the closing script tag for your JW Player embed. It is that simple. Like so:
<script type="text/javascript" src="speed.js"></script>
<script type="text/javascript" src="jwplayer.js"></script>
<div id="player"></div>
<script type="text/javascript">
jwplayer('player').setup({
'width': '575',
'height': '400',
'file': 'video.mp4'
'image': "video.jpg"
});
</script>
<script type="text/javascript" src="speed.js"></script>
The source code is available for this script. There is just a .js file for JavaScript. Publishing the JavaScipt can be simply done with any text editor. Enjoy~! :)