html5 - .swf file not displaying on website -
i need embedding .swf file onto website. have tried kinds of code combinations. here's have.
<div class="article_top_img"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" > <param name="movie" value="myfile.swf"> <param name="quality" value="high"> <param name="wmode" value="opaque"> <embed src="myfile.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="310"></embed> </object> </div>
at moment it's displaying outline of video.
i've tried embed swf file html file adobe dreamweaver application. name of swf file t0.swf, it's located on desktop. generated code block:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" id="flashid" title="swf file"> <param name="movie" value="../desktop/t0.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="7.0.70.0" /> <!-- param tag prompts users flash player 6.0 r65 , higher download latest version of flash player. delete if don’t want users see prompt. --> <param name="expressinstall" value="scripts/expressinstall.swf" /> <!-- next object tag non-ie browsers. hide ie using iecc. --> <!--[if !ie]>--> <object type="application/x-shockwave-flash" data="../desktop/t0.swf" width="550" height="400"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="7.0.70.0" /> <param name="expressinstall" value="scripts/expressinstall.swf" /> <!-- browser displays following alternative content users flash player 6.0 , older. --> <div> <h4>content on page requires newer version of adobe flash player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="get adobe flash player" width="112" height="33" /></a></p> </div> <!--[if !ie]>--> </object> <!--<![endif]--> </object>
i've tried view html file google chrome(version 30.0.1599.66 m), mozilla firefox (version 24.0), internet explorer (version 8) , opera(version 11.51). opened html fine, swf animation starts playing after opening html. i've tried code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" > <param name="movie" value="../desktop/t0.swf"> <param name="quality" value="high"> <param name="wmode" value="opaque"> <embed src="../desktop/t0.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="310"></embed> </object>
it worked fine, except internet explorer showed swf animation little bit smaller, worked. may should check flash player plugin.
Comments
Post a Comment