Skip to content

Instantly share code, notes, and snippets.

@gregorymostizky
Created March 28, 2012 22:28
Show Gist options
  • Save gregorymostizky/2231099 to your computer and use it in GitHub Desktop.
Save gregorymostizky/2231099 to your computer and use it in GitHub Desktop.
Basic Mjolnir Integration
<html>
<head>
<script src='http://player.ooyala.com/player/v2/bootstrap.js?pc=espn_main_player'></script>
</head>
<body>
<div id='playerwrapper' style='width:480px;height:360px;'></div>
<script>
window.OOYALA_PLAYER_READY(function(OO) {
var videoPlayer = OO.Player.create('playerwrapper','video_embed_code', {
onCreate: function(player) {
// connect your 3rd party modules here
// ...
}
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment