Hi Kyle,

Any chance you could post up the code you were trying? Also what OS
and Safari version was it breaking in?

The results of tests I performed came back showing it was working in
all Safari versions on both win and mac. The results can be found on
the following link: http://dl.dropbox.com/u/3417104/swfobject/browsers.zip

But yeah, it's a trivial fix, just add the movie param to the IE only
conditional comment e.g.

<!--[if IE]><object id="myId" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" width="300" height="120">
<param name="movie" value="test6_flashvars.swf" /><![endif]-->
<!--[if !IE]>--><object type="application/x-shockwave-flash"
data="test6_flashvars.swf" width="300" height="120"><!--<![endif]-->
   <param name="menu" value="false" />
   <param name="wmode" value="transparent" />
   <param name="flashvars"
value="name1=hello&name2=world&name3=foobar" />
   <div>
      <h1>Alternative content</h1>
      <p><a href="http://www.adobe.com/go/getflashplayer";><img
src="test_params_files/get_flash_player.gif" alt="Get Adobe
Flashplayer" /></a></p>
   </div>
</object>

Cheers,

SJ



On Dec 15, 7:23 pm, Shade <[email protected]> wrote:
> Actually, on the topic of the "movie" param... turns out it does break
> Safari. Just tested this on a page, and Safari would load if the movie
> param were only in the outer object, but if all i did was move it to
> the inner object, it would fail to load the movie. And yes, it had the
> exact same URL as the "data" attribute.
>
> So, this shorter syntax works fine, but with the caveat that the
> "movie" param must only be in the outer object.
>
> --Kyle
>
> On Dec 8, 3:57 pm, raider5 <[email protected]> wrote:
>
> > Hi,
>
> > Thanks for the responses. I was just in the process of testing this!
> > The initial markup I posted did have an issue in Safari 3 (win), so I
> > grabbed a copy of the following params page from the test suite:
>
> >http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_params.html
>
> > I've modified the markup in it so it reads as follows:
>
> > <!--[if IE]><object id="myId" classid="clsid:D27CDB6E-
> > AE6D-11cf-96B8-444553540000" width="300" height="120"><![endif]-->
> > <!--[if !IE]>--><object type="application/x-shockwave-flash"
> > data="test6_flashvars.swf" width="300" height="120"><!--<![endif]-->
> >         <paramname="movie" value="test6_flashvars.swf" />
> >         <paramname="menu" value="false" />
> >         <paramname="wmode" value="transparent" />
> >         <paramname="flashvars"
> > value="name1=hello&name2=world&name3=foobar" />
> >         <div>
> >                 <h1>Alternative content</h1>
> >                 <p><a href="http://www.adobe.com/go/getflashplayer";><img
> > src="test_params_files/get_flash_player.gif" alt="Get Adobe Flash
> > player" /></a></p>
> >         </div>
> > </object>
>
> > I've tested the modified "test_params.html" page in the following
> > browsers and everything works 100%. The results are all win based, if
> > anyone can test mac that would be good:
>
> > IE - 6, 7, 8
> > FF - 2, 3.5, 3.6(alpha)
> > Safari - 3, 4
> > Opera - 9+
> > Chrome - 3
>
> > The movieparam, as Kyle has said, shouldn't be an issue. It's a
> > parameter so it'll be ignored if it isn't supported I would have
> > thought.
>
> > The main problem with the current syntax is that it adds a lot of page
> > weight which I don't think is necessary, especially if there are a lot
> > of flash vars. The above syntax avoids this and seems to work fine.
>
> > Cheers,
>
> > SJ

--

You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.


Reply via email to