Code:
<td align="center" valign="top" style="background-color:#414C00;"><script language="javascript" type="text/javascript">
/** First write the HTML fallback to the page, so it'll be there even for devices that have poor JS support. **/
document.write("<div class='botrplayer ltas-ad' id='botr_yYul4DRz_329_6337_div'><a href=\"#\" title=\"Thanks,Excell Broadband\" style='display:block; width:608px; height:272px; background: #414C00 center; text-indent:-999px;'>Click to play video</a></div>");
/** Now define the BotR initialization class **/
if (typeof(BotR) == 'undefined') { var BotR = new Object(); }
BotR.swf = function (src,id,width,height,bgcolor,flv) {
if (!document.getElementById) { return; }
this.source = src;
this.id = id;
this.width = width;
this.height = height;
this.params = {
'bgcolor':bgcolor,
'allowfullscreen': 'true',
'allowscriptaccess': 'always'
};
this.flv = flv;
this.flashvars = new Object();
this.version = this.getVersion();
if (!window.opera && document.all && parseInt(this.version.split(',')[0]) > 7 && !BotR.unloadSet) {
// fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/
BotR.cleanupSWFs = function() {
var objects = document.getElementsByTagName("OBJECT");
for (var i=objects.length - 1; i >= 0; i--) {
objects[i].style.display = 'none';
for (var x in objects[i]) {
if(typeof objects[i][x] == 'function') {
objects[i][x] = function(){};
}
}
}
};
BotR.prepUnload = function() {
__flash_unloadHandler = function(){};
__flash_savedUnloadHandler = function(){};
window.attachEvent("onunload", BotR.cleanupSWFs);
};
window.attachEvent("onbeforeunload", BotR.prepUnload);
BotR.unloadSet = true;
}
};
BotR.swf.prototype = {
/** Overwrite the div contents with the player, if the right Flash version is there. **/
loadSWF: function () {
var major = parseInt(this.version.split(',')[0]);
var minor = parseInt(this.version.split(',')[2]);
var divid = this.id + '_div';
if(major < 9) {
return;
} else if (major == 9 && minor < 98) {
if(this.flv) {
this.setFlashvar('file',this.flv);
this.setFlashvar('hd.file',this.flv);
} else {
return;
}
} else {
this.params.wmode = 'opaque';
}
document.getElementById(divid).innerHTML = this.swfHtml();
},
/** Return the Flash plugin version to javascript. **/
getVersion: function () {
try {
try {
var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');
try { axo.AllowScriptAccess = 'always'; }
catch(e) { return '6,0,0'; }
} catch(e) {}
return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1];
} catch(e) {
try {
if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];
}
} catch(e) {}
}
return '0,0,0';
},
/** Create the HTML string needed for the flash embed. **/
swfHtml:function() {
var html = "";
var fv = this.getFlashvars();
if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {
html = '<embed type="application/x-shockwave-flash" src="'+ this.source +'" width="'+ this.width +'" height="'+ this.height +'"';
html += ' id="'+ this.id +'_swf" name="'+ this.id +'_swf" ';
for(var key in this.params) {
html += [key] +'="'+ this.params[key] +'" ';
}
html += 'flashvars="'+ fv +'" />';
} else {
html = '<object id="'+ this.id +'_swf" name="'+ this.id +'_swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.width +'" height="'+ this.height +'">';
html += '<param name="movie" value="'+ this.source +'" />';
for(var key in this.params) {
html += '<param name="'+ key +'" value="'+ this.params[key] +'" />';
}
html += '<param name="flashvars" value="'+ fv +'" />';
html += "</object>";
}
return html;
},
/** Add a flashvar to the list. **/
setFlashvar: function(name,value) {
this.flashvars[name] = encodeURIComponent(value);
},
/** Return a concatenated string of flashvars. **/
getFlashvars: function () {
var pairs = new Array();
for(var key in this.flashvars) {
pairs[pairs.length] = key+"="+this.flashvars[key];
}
return pairs.join('&');
}
};
/** Now the class has been set up, initialize the player, inject all flashvars and start. **/
var temp = Math.round(1000 * Math.random());
var botr_yYul4DRz_329_6337 = new BotR.swf("http://192.12.199.5/players/videoplayer.swf?"+temp,"botr_yYul4DRz_329_6337","608","272","#ffffff");
botr_yYul4DRz_329_6337.setFlashvar("shuffle","false");
botr_yYul4DRz_329_6337.setFlashvar("author","Excellmedia Bord ");
botr_yYul4DRz_329_6337.setFlashvar("image","photos/1112251324805409.jpeg");
//botr_yYul4DRz_329_6337.setFlashvar("plugins","sharing");
//-botr_yYul4DRz_329_6337.setFlashvar("height","272");
//botr_yYul4DRz_329_6337.setFlashvar("file","/kantri.mp4");
botr_yYul4DRz_329_6337.setFlashvar("file","/home2/video/telugu/180/10aj.mp4");
botr_yYul4DRz_329_6337.setFlashvar("linktarget","_self");
//botr_yYul4DRz_329_6337.setFlashvar("playlistsize","200");
botr_yYul4DRz_329_6337.setFlashvar("playlist","none");
//botr_yYul4DRz_329_6337.setFlashvar("sharing.code","<embed src='http://192.12.199.5/players/yYul4DRz-329-38983.swf' allowfullscreen='true' repeat="always" allowscriptaccess='always'/>");
botr_yYul4DRz_329_6337.setFlashvar("title","Thanks,Excell Broadband");
botr_yYul4DRz_329_6337.setFlashvar("frontcolor","000000");
//botr_yYul4DRz_329_6337.setFlashvar("width","608");
botr_yYul4DRz_329_6337.setFlashvar("autostart","true");
botr_yYul4DRz_329_6337.setFlashvar("backcolor","414C00");
botr_yYul4DRz_329_6337.setFlashvar("streamer","rtmpe://192.12.199.5/simplevideostreaming");
botr_yYul4DRz_329_6337.setFlashvar("type","rtmp");
botr_yYul4DRz_329_6337.setFlashvar("screencolor","000000");
botr_yYul4DRz_329_6337.setFlashvar("repeat","always");
botr_yYul4DRz_329_6337.setFlashvar("description","Excell Media"),
botr_yYul4DRz_329_6337.setFlashvar("tags","homepage www");
botr_yYul4DRz_329_6337.setFlashvar("dock","true");
botr_yYul4DRz_329_6337.setFlashvar("link","http://www.excellmedia.net/");
botr_yYul4DRz_329_6337.setFlashvar("displayclick","play");
botr_yYul4DRz_329_6337.setFlashvar("lightcolor","1369bf");
botr_yYul4DRz_329_6337.setFlashvar("displaytitle","true");
botr_yYul4DRz_329_6337.setFlashvar("stretching","exactfit");
botr_yYul4DRz_329_6337.setFlashvar("controlbar","over");
botr_yYul4DRz_329_6337.setFlashvar("id","botr_yYul4DRz_329_6337_swf");
botr_yYul4DRz_329_6337.setFlashvar("overstretch","none");
botr_yYul4DRz_329_6337.loadSWF();
</script>