Enrique: Pedro will decide future

Date published: Wednesday 22nd July 2015 9:40

var ooyalaPlayerToken = “”;
$.ajax({
url: “/video/video-authenticate”,
async: false,
success:function(data) {
if (data)
ooyalaPlayerToken = data;
},
dataType : ‘text’
});
OO.Player.create(‘vid’, ‘Zuc3Mxdjq8GcKIw8DEZJzwm90D58O92R’, {
wmode: ‘transparent’,
autoplay : false,
onCreate: function(player) {
window.messageBus = player.mb; // save reference to message bus
},
“analytics”: {
“tags” : [“ttweb”]
},
“google-ima-ads-manager”: {
“showInAdControlBar”: true
},embedToken: ooyalaPlayerToken
});