Page 1 of 1

Force a

Posted: Tue Sep 02, 2008 6:00 pm
by duplay
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:

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}

Re: Force a "ActiveX" install prompt for embeded movie on page?

Posted: Fri Sep 05, 2008 7:15 am
by Dr.CSS
I don't believe it's active x per say as it's the active x for that particular thing you are trying to do that is needed, as Active X is installed in every windoze comp. why do you think they have to do so many patches :)...

99.9999% of all problems in windoze is from one form or another of IE, it's used in the explorer, outlook express, outlook, win media player and is given all permissions on the root of the operating system, hence drive by installs of malware...