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开发者_如何学Go">
<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>
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.
If the implementation uses "smarty," which doesn't take {} especially during the variable declaration, this way is the only way.
精彩评论