How to display FLASH Movie in HTML page

Use the following code sample to add a FLASH movie in your HTML page. Replace the MY_FLASH_CLIP.swf with any other flash file's name.

To embed a flash movie "object" is used. The classid attribute of the object tag is set to the gui(global unique identifier) of the Macromedia Flash ActiveX control. Also, the pluginpage value for the embed tag is set in order to obtain the plugin if it is not installed yet.


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" id="resizable2" ALIGN="">
<PARAM NAME=movie VALUE="MY_FLASH_CLIP.swf">
<EMBED src="MY_FLASH_CLIP.swf" quality=high scale=noscale bgcolor=#FFFFFF WIDTH="100%" HEIGHT="100%" NAME="resizable2" SALIGN="LT" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>


Comments

Author: Phagu Mahato08 Feb 2014 Member Level: Gold   Points : 2

You can add this code snippet in your programming









  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: