Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

<embed> tag no longer supported! what to use instead?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy B - 06 Feb 2008 18:46 GMT
I am trying to embed mp3 files in a web page by using the <embed> tag. Every
time I save the page I get xhtml validation(): embed tag no longer
supported. When I run the page... I get nothing at all. I even tried this
with a flash swf file and that never worked either. Still get validation
errors and IE7 refuses to run it...any ideas on how to fix this?
Dathan - 06 Feb 2008 19:02 GMT
> I am trying to embed mp3 files in a web page by using the <embed> tag. Every
> time I save the page I get xhtml validation(): embed tag no longer
> supported. When I run the page... I get nothing at all. I even tried this
> with a flash swf file and that never worked either. Still get validation
> errors and IE7 refuses to run it...any ideas on how to fix this?

Use the HTML <object> tag instead. Embed is depreciated. If you have
to use it then you could try rendering the page in quirks mode by
leaving out the Doctype.
Andy B - 06 Feb 2008 22:51 GMT
How do you use <object> on the serverside? I try it and it says class,
classID or progID is required even though I have no use for them (whatever
they are)...

On Feb 6, 10:46 am, "Andy B" <a_bo...@sbcglobal.net> wrote:
> I am trying to embed mp3 files in a web page by using the <embed> tag.
> Every
> time I save the page I get xhtml validation(): embed tag no longer
> supported. When I run the page... I get nothing at all. I even tried this
> with a flash swf file and that never worked either. Still get validation
> errors and IE7 refuses to run it...any ideas on how to fix this?

Use the HTML <object> tag instead. Embed is depreciated. If you have
to use it then you could try rendering the page in quirks mode by
leaving out the Doctype.
Coskun SUNALI [MVP] - 07 Feb 2008 00:16 GMT
Hi,

Object tag needs to know its classID or progID properties to find out what
activex object it will embed to the browser.

You may want to read about it on the web. There should be a lot of examples
and resources.

If you can't manage to find some samples, I will try to help you in advance.

Signature

All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

> How do you use <object> on the serverside? I try it and it says class,
> classID or progID is required even though I have no use for them (whatever
[quoted text clipped - 11 lines]
> to use it then you could try rendering the page in quirks mode by
> leaving out the Doctype.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.