Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Internet Explorer
From: John Dowdell
Date: Mon, 16 Mar 1998 22:10:12 GMT

(psst... I snipped your HTML duplicate of the message... in mailing lists
it's best to send only ASCII rather than both HTML and ASCII. There should
be a preference in your emailer for HTML messages.)


In the script below, any browser that understands ActiveX will be
instructed to use the Win32-specific Flash ActiveX Control through the
"classid" attribute value.

Then there's a test for browsers which support the navigator.mimeTypes and
related JavaScript properties, and if the plugin is available there's a
conditional document.write of the EMBED tag.

The problem here is that IE/Mac and IE/Win3.1 both use Netscape plugins,
and can't tell you their multimedia capabilities through the
navigator.plugins and related arrays. This means they can't use either the
OBJECT or the EMBED in the example below.

Yes, it's awkward. Aftershock assumes that IE4/Mac can't do anything,
because that browser brand/platform combo can't tell pages what it can in
fact do. You might also wish to do a browser-sniff for IE4/Mac and give
them a redirect choice, or throw an alert at the front page, or... well,
there's a couple of ways to approach this problem.


But look at the bright side... you didn't have to go through what Bob James
did and use JavaScript to protect IE4/Mac from VBScript.... ;)

jd






At 10:53 AM 3/16/98, Dan Love wrote:
>I'm attempting my first flash movie and all appears well but it wont show up
>on my IE4 (For Macintosh). It's right there for Netscape but IE just cuts to
>the animation.
>This is the code with names changed to protect the innocent.
><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://active.macromedia.com/flash/cabs/swflash.cab"
> ID=OPOR WIDTH=309 HEIGHT=60>
> <PARAM NAME=movie VALUE="OPOR.swf">
> <PARAM NAME=quality VALUE=autohigh>
>
> <SCRIPT LANGUAGE="JavaScript">
> <!--hiding contents from old browsers
> if (navigator.mimeTypes &&
>navigator.mimeTypes["application/futuresplash"]){
> document.write('<EMBED SRC="opor.swf" WIDTH="309" HEIGHT="60"
>QUALITY="AUTOHIGH" BGCOLOR="#FFFFFF" SCALE="SHOWALL" SALIGN="TL"
>MENU="TRUE">');
> }
> //Otherwise,...
> else {
> document.write('<img src="anime/ooportot.gif" alt="Boogah"
>width="309" height="60" border="0">');
> }
> //Done hiding from old browsers. -->
> </SCRIPT>
> <NOSCRIPT>
><img src="anime/ooportot.gif" alt="Boogah" width="309" height="60"
>border="0">
></NOSCRIPT>
></OBJECT>
>Can anyone spot the problem? Is it just that IE stinks?



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]