[SWFObject] Swf object and 'salign'
Martin Grether
martin.grether at datema.de
Thu Jul 20 03:02:58 PDT 2006
When I use this object tag, everything is ok:
<object id="player1_ie"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=7,0,0,0" width="250" height="30" id="player" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie"
value="wmplayer.swf?playlist=KLCmusic.xml&autostart=true" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#1a1a1a" />
<embed
src="wmplayer.swf?playlist=KLCmusic.xml&autostart=true"
quality="best"
scale="noscale"
salign="lt"
bgcolor="#1a1a1a"
width="250"
height="30"
name="player"
id="player1_moz"
align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
When I am using this code, the music plays, but the controls are not
visible.
<!-- <div id="flashcontent"></div>
<script type="text/javascript">
// <![CDATA[
var so = new
SWFObject("wmplayer.swf?playlist=KLCmusic.xml&autostart=true", "player",
"250", "30", "8", "#1A1A1A");
so.addParam('salign', 'lt');
so.write("flashcontent");
// ]]>
</script> -->
</div>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060720/6bad62fd/attachment-0004.htm>
More information about the Swfobject
mailing list