You can do this by creating the object tag
<object name="DottObject" type="text/html" height="100%" width="100%" border="0" data="http://www.dotnetobject.com"></object>
for swf
<object width="400" height="400" data="helloworld.swf"></object>
or
<embed src="intro.swf" width="200px" height="200px"></embed>
for videos you need Quicktime to run videos on web, so below code will help you to run video file
<object width="420" height="360"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="liar.wav" />
<param name="controller" value="true" />
</object>
or
<embed src="http://www.tizag.com/files/html/htmlexample.mpeg"
autostart="false" />
Thanks and Regards
Balaji.R
ASP.NET Devloper
Solve-IT corp
Sksamantaray, if this helps please login to Mark As Answer. |
Reply | Alert Moderator