Return to Snippet

Revision: 49477
at September 8, 2011 23:03 by digitalzoomstudio


Updated Code
<p>
<object type="application/x-shockwave-flash" data="preview.swf" width="915" height="360" id="flashcontent" style="visibility: visible; "><param name="movie" value="preview.swf"><param name="menu" value="false"><param name="allowScriptAccess" value="always"><param name="scale" value="noscale"><param name="allowFullScreen" value="true"><param name="wmode" value="opaque"><param name="flashvars" value="xml=xml/gallery2.xml">
</object>
</p>

<p>
<object type="application/x-shockwave-flash" data="preview.swf" width="915" height="360" id="flashcontent" style="visibility: visible;">
<param name="movie" value="preview.swf"><param name="menu" value="false"><param name="allowScriptAccess" value="always">
<param name="scale" value="noscale"><param name="allowFullScreen" value="true"><param name="wmode" value="opaque">
<param name="flashvars" value="xml=xml/gallery2.xml">
</object>
</p>

Revision: 49476
at August 21, 2011 12:59 by digitalzoomstudio


Updated Code
<p>
<object type="application/x-shockwave-flash" data="preview.swf" width="915" height="360" id="flashcontent" style="visibility: visible; "><param name="movie" value="preview.swf"><param name="menu" value="false"><param name="allowScriptAccess" value="always"><param name="scale" value="noscale"><param name="allowFullScreen" value="true"><param name="wmode" value="opaque"><param name="flashvars" value="xml=xml/gallery2.xml">
</object>
</p>


<object type="application/x-shockwave-flash" data="preview.swf" width="915" height="360" id="flashcontent" style="visibility: visible;">
<param name="movie" value="preview.swf"><param name="menu" value="false"><param name="allowScriptAccess" value="always">
<param name="scale" value="noscale"><param name="allowFullScreen" value="true"><param name="wmode" value="opaque">
<param name="flashvars" value="xml=xml/gallery2.xml">
</object>

Revision: 49475
at July 22, 2011 05:16 by digitalzoomstudio


Initial Code
<p>
<object type="application/x-shockwave-flash" data="preview.swf" width="915" height="360" id="flashcontent" style="visibility: visible; "><param name="movie" value="preview.swf"><param name="menu" value="false"><param name="allowScriptAccess" value="always"><param name="scale" value="noscale"><param name="allowFullScreen" value="true"><param name="wmode" value="opaque"><param name="flashvars" value="xml=xml/gallery2.xml">
</object>
</p>

Initial URL


Initial Description
Hey guys, I struggled a little to find a crossbrowser, non repetitive params way to embed swfs; this object embed works flawlessly for me in all browsers - ie7, ie8, safari, chrome, firefox. Why is swfobject and YouTube using this format - http://code.google.com/p/swfobject/wiki/documentation ( scroll to static embed ) ? The flaw with that is that you have to change width/height/flashvars 2 times rather then my method where it's only one ... 

So anybody knows why they are using that ? Does it work in IE6 ( I can't test this .. ) ? If that's the case - I don't care about ie6:D

Initial Title
New Object Embed for SWF

Initial Tags
object, flash

Initial Language
HTML