Flasher Archive

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


Subject: Re: FLASH: strange question
From: Jean-Pierre GOVEKAR
Date: Wed, 8 Dec 1999 19:38:41 GMT

Hi,

this problem of Flash and IE on Mac is really bad.

I don't remember if someone proposed a solution on this ML, and I do not have the solution.

But what you just wrote makes it theoretically possible.
I think it should work with a JavaScript testing the browser and the platform like what's following:

As I'm not wzard in JS, I just did copy and paste

but I don't know how to test the platform :-(

if someone has any idea or can create the JavaScript, I'll be very happy.

and if the solution already exists, just send me the script ;-) PLLEEEAAAASE


It would go like that:
1 : if browser = Microsoft && platform == Windows write: OBJECT
2 : if browser = Microsoft && platform == Windows write: EMBED

<!--

function testIE()
{

if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) && platform == Windows
{
document.write('<object ...>');
document.write(' <param name="SRC" value="http://www.toto.com/toto.swf">');
document.write('<param name="TYPE" value="application/x-shockwave-flash">');
document.write('</object>');
}

if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator && platform == Mac
{
document.write('<embed src="http://www.toto.com/toto.swf"');
document.write('type="application/x-shockwave-flash" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlasl">');
document.write('</embed>');
}
}

else
{
location="totonoflash.html";
}

//-->

if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))


function testnav() {
var navig=0
//TEST Navigateur
if (navigator.appName.indexOf("Microsoft") != - 1 && navigator.userAgent.indexOf("3.01") == -1 && navigator.userAgent.indexOf("mac") == - 1 && navigator.userAgent.indexOf("Mac") == - 1 && navigator.userAgent.indexOf("Windows 3") == - 1 ) {

var navig=1

document.write('<object width="350" height="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="javascript:redirie()">');

document.write(' <param name="SRC" value="http://www.elle.com/img/all/sster.swf">');

document.write('<param name="TYPE" value="application/x-shockwave-flash">');

document.write('</object>');

}



Jean-Pierre GOVEKAR
Production Manager/Developer
World Media Live - Paris
govekaratworldmedia [dot] fr




>We're trying to build some very simple flash pages with a flash movie in a
>table cell of an ordinary HTML page.
>
>It works fine in Netscape and IE on a PC, and on a mac it works fine in
>Netscape. But in IE on the mac (we've tried 4.01 and 4.5) the <OBJECT> tag
>gets read as a blank space above the movie and upsets the alignment. So
>you get a hole in the table where the browser is trying to read the object
>tag. If I take the Object tag out and only use the <EMBED> tag, it's fine.
>But then obviously it will have problems in IE on a PC.
>
>The whole thing is driving me crazy - particulary now that I've asked some
>friends to have a look, and they've said that on their macs, using IE,
>there *isn't* a space. I've gone over the code a hundred times, thinning
>it down and cutting out white space, but it just doesn't work. In one
>case, a friend on an identical macintosh (G3 350) and with the same file,
>did a screenshot to prove that on his machine there was no space. But with
>my machine I can't fix the problem.
>
>I hope I've explained this correctly - if anybody has ANY hints about this
>at all, I would really really appreciate it. i can show you the object and
>embed tags we're using if you like.
>
>Thanks in advance,
>
>Vlad




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: strange question, Vlad Cohen

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