Though using flash in Html is bit outdated now. But sometimes it neccesary for clients requirment to match. Playing Video and audios or animations in webpage is much easier in Html5, but sometimes concept of webpage requires higher functionality. In this situation we needs to take help of Flash.
Here we are writing <object> tag to embed flash object into our code.
Thus <object> tag is valid XHtml tag, but <embed> tag is not. Embed was used for Netscape based browsers.
The width and height tags specify size of the movie, which you will need to adjust. This is the minimum code you need to embed a Flash movie in a browser. If user's browser dose not support Flash Player, it will tell to install it.
Here we are writing <object> tag to embed flash object into our code.
<object width="550" height="400">
|
<object type="application/x-shockwave-flash" data="music/sound.swf" width="550" height="400">
<param name="movie" value="music/sound.swf" />
<param name="quality" value="high"/>
</object>
|