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]-->
<param name="movie" value="test6_flashvars.swf" />
<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 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 movie param, 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