Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ActiveX control message



DSG wrote:
>
> in IE I keep getting an “ActiveX Control warning” every time I load
> the page. Does anyone have any idea on how to get around this?
>
the easyiest way in your specific case is to put the object in a
javascript string, i.e. replace in your sourcecode

	<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="100%" height="100%" align="absmiddle">
	<param name="cache" value="true">
	<param name="autoplay" value="true">
	<param name="controller" value="true">
	<param name="kioskmode" value="true">
	<param name="scale" value="tofit">
	<param name="src" value="04.mov">
	<embed cache="true" src="04.mov" type="video/quicktime" width="100%" height="100%" scale=tofit controller="true" autoplay="true" align="absmiddle"></embed>
	</object>


with

<script type="text/javascript" src="iefix.js" />
<script type="text/javascript>
var o='	<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="100%" height="100%" align="absmiddle">'."\n";
o+='	<param name="cache" value="true">'."\n";
o+='	<param name="autoplay" value="true">'."\n";
o+='	<param name="controller" value="true">'."\n";
o+='	<param name="kioskmode" value="true">'."\n";
o+='	<param name="scale" value="tofit">'."\n";
o+='	<param name="src" value="04.mov">'."\n";
o+='	<embed cache="true" src="04.mov" type="video/quicktime" width="100%" height="100%" scale=tofit controller="true" autoplay="true" align="absmiddle"></embed>'."\n";
o+='	</object>'."\n";
iefix(o);
</script> 

then create the file iefix.js, which is contains the following three lines

function iefix(o){
document.write(0);
}

that should solve it.

if you are generating the object with php, putting the javascript
wrapper around it is just a matter of a couple of string changes.

> Am I going about it the wrong way?
>
there are plenty of ways to go and it is often a matter of taste what
you choose.
>
> Could I get some samples of ways you all have dynamically created
> pages for viewing tours?
>
I am working currently on making the prototype at
<http://br.xenaura.com/test.php> production ready.

An example currently in production (lower tech):
<http://www.xenaura.com/visite.php?sia=x42500>

Yuv

Copyright notice: the above text is (C) 2006 Yuval Levy. All rights
reserved. Reproduction in full or in part on any website other than
list.apple.com strictly forbidden without written consent.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-VR mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-vr/email@hidden

This email sent to email@hidden

References: 
 >ActiveX control message (From: "DSG" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.