Skip to content

Instantly share code, notes, and snippets.

@josmera01
Created October 9, 2012 22:56
Show Gist options
  • Save josmera01/3861991 to your computer and use it in GitHub Desktop.
Save josmera01/3861991 to your computer and use it in GitHub Desktop.
<html encoding="UTF-8"? >
<head>
<script src='http://player.ooyala.com/v3/ff4f1adc54434dc7b9a3850a0ce28017?chromeless=true'></script>
</head>
<body>
<div id="ctn" style="width:640px; height:480px;"></div>
<script>
var messageBus;
var myplayer = OO.Player.create('ctn', null, {
autoplay: 1,
'doubleclick':{
tagUrl: 'http://ad.au.doubleclick.net/pfadx/ndm.taus/home;sec1=home;tile=1;viewno=2;vsite=taus;vsec1=national;rsi=675;rsi=634;rsi=203;prod=video;sz=427x240;pltype=article;env=vastinlinemp4;u=pos=1,pagetype=homepage,prod=video;kw=by,photographer,mark,evans,picks,of,the,best,moments,in,2011;ord=67272277'
},
//platform: 'flash-only',
//br: 1200,
onCreate:function (player) {
player.setEmbedCode('YwaXBzNTrsiYe9uhhHUxmhWxSvLlbfdJ', {
});
messageBus = player.mb;
messageBus.subscribe('*', '', function (eventName, egg1, egg2) {
console.log('-', eventName, egg1, egg2);
});
}
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment