Force a
Posted: Tue Sep 02, 2008 6:00 pm
Greetings-
I have a embedded video feed going to one of my CMS pages but it wont show unless the user has "ActiveX" already installed. Does anyone have soem code I could add to the code below that would force the Windows prompt to install AvtiveX in order to view this via IE7? Works on MAC fine and FireFox on PC.
Here is page with video:
;http://www.evo2lvemultisports.com/index.php?page=movie
Here is the code I placed on the page in order to get the video to come through:
I have a embedded video feed going to one of my CMS pages but it wont show unless the user has "ActiveX" already installed. Does anyone have soem code I could add to the code below that would force the Windows prompt to install AvtiveX in order to view this via IE7? Works on MAC fine and FireFox on PC.
Here is page with video:
;http://www.evo2lvemultisports.com/index.php?page=movie
Here is the code I placed on the page in order to get the video to come through:
Code: Select all
{literal}
0)
{
ipadd = ipadd.substring(0, ipadd.indexOf(":"));
}
}
var dw_jpeg = ''+
'' +
''+
''+
''+
''+
'';
var dw_mpeg = ''+
'' +
''+
''+
''+
''+
'';
var dw_push = '';
function dw(message)
{ document.write(message); }
if(isIE()) { var brow = "IE"; }
if(isNS()) { var brow = "MZ"; }
function doPlay()
{
if(vmode != "")
{
if(isWin())
{
if(isIE())
{
if( vmode == "jpeg" )
{ dw(dw_jpeg); }
else
{ dw(dw_mpeg); }
}
else
{
dw(dw_push);
}
}
else
{
dw(dw_push);
}
}
else return false;
}
var is_auto_reload = true;
function reloadOnErr(obj) {
if(!is_auto_reload)
return;
setTimeout("eval('obj.src = obj.src;'", 800);
}
var is_admin = false;
function chkAdmin()
{
if(!is_admin)
return confirm(msg_admin_config);
else
return true;
}
function doStop()
{
if(isIE())
{
document.LinksysViewer.StopPlay();
}
}
// -->
{/literal}