Search code examples
flashswfobjecthtml

Rendering swf files in html with/Without swfobject


Without including swfobject.js can only swf files be loaded through html.And if so is there a common tag for all the browsers.

<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
<embed align=""
       type="application/x-shockwave-flash"
       name="myMovieName"
       bgcolor="#FFFFFF"
       quality="high"
       src="movie.swf"
       href="movie.swf">
</object>

Solution

  • The combination you posted, <object> with nested <embed> should work for all browsers. There isn't one tag that works for all browsers. See this document for details.

    I would still recommend swfobject, though.