var MTVNPlayer = MTVNPlayer || {};
MTVNPlayer.addCallback = function(n){
this.onAPIReady = function(e){
return e ? function(){e();n();} : n;
}(this.onAPIReady);
};
var config = {
width:768,
height:432,
uri:”mgid:moses:video:gametrailers.com:730314″,
flashVars:{autoPlay:”true”,sid:”Game_Trailers_Videos_EVENT”},
params:{
wmode:”opaque”,
allowFullScreen:true
}
};
MTVNPlayer.addCallback(function(){
// The API is ready. Create as many players as you like.
var player1 = new MTVNPlayer.Player(“video_player”, config); // see below for more details.
});
var tag = document.createElement(‘script’);
tag.src = “http://media.mtvnservices.com/player/api/1.3.1.js”; // email M_MTVi-SiteSupportBroadband@viacom.com for the current version
tag.language = “javascript”;
var firstScriptTag = document.getElementsByTagName(‘script’)[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
Share the livestream with your friends on these awesome social sites!


