Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using the <embed> tag in our website foe video play. But problem is that it wrks fine on IE9 but it doesn't work in IE8?why?
pls giv me the solution............
Posted

1 solution

IE requires this to be in the OBJECT tag, not the EMBED tag.
The <OBJECT> tag is used to add SWF files to HTML pages. The <EMBED> tag can also be used, but is older and now obsolete: Details here[^]

You need to embed it using Object tag:
XML
<object type="application/x-shockwave-flash" data="yourflash.swf" width="" height="">
    <param name="video" value="myflash.swf" />
</object>

Look here for details:
How To Play SWF File In Asp.Net[^]


You can also use a free version control to do the same: http://www.flash-control.net/[^]
Look here for details:
How To Play SWF File In Asp.Net [^]


Few more options discussed here:
How to embed a flash (.swf) file into asp.net?[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900