Last active
December 26, 2015 04:19
-
-
Save josmera01/7092653 to your computer and use it in GitHub Desktop.
Codigo de Ooyala html5
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
<script type='text/javascript' charset='utf-8'> | |
OO.ready(function() { | |
var videoPlayer = OO.Player.create('player', 'RibjdnZjqmTvyvqdfW7bozM-IDouyrBs', { | |
width: '100', | |
height:'100', | |
callback: 'receiveOoyalaEvent', | |
onCreate: function(player) { | |
player.mb.subscribe('playheadTimeChanged','player', function(eventName) { | |
//videoPlayer.play(); | |
videoPlayer.setTargetBitrate(900); | |
}); | |
} | |
}); | |
}); | |
</script> | |
<div id="player"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment