function get_url_parse(name){name = name.replace(/[\[]/,”\\[“).replace(/[\]]/,”\\]”); var regex = new RegExp(“[\?&]”+name+”=([^&#]*)”); var results = regex.exec(window.location.href); return results == null ? “” : results[1];}
var video_uuid = get_url_parse(‘video_uuid’);
var playerDiv = document.getElementById(“mediaSuitePlayer_t962thwh”).style;
playerDiv.display = “inline”;
var so = new SWFObject(“http://player.multicastmedia.com/templates/V0-320×180.swf”, “vxFlashPlayer”, “352”, “235”, “9”, “#FFFFFF”);
so.addVariable(“ts”, “1349730705”);
so.addVariable(“projectid”, “122567”);
so.addVariable(“projectuuid”, “t962thwh”);
so.addVariable(“programid”, video_uuid);
so.addVariable(“programuuid”, video_uuid);
so.addVariable(“gfToken”, “”);
so.addVariable(“loadingdomain”, “http://player.multicastmedia.com”);
so.addVariable(“serviceURL”, “http://player.multicastmedia.com/services/index.php”);
so.addVariable(“doResize”, “false”);
so.addParam(“allowFullScreen”, “true”);
so.addParam(“allowScriptAccess”, “always”);
so.addVariable(“typePlayer”, “vod”);
so.write(“mediaSuitePlayer_t962thwh”);