Forum Moderators: open

Message Too Old, No Replies

<object> tag for embedding sound & video

looking for cross browser XHTML replacement for <embed>

         

bill

8:45 am on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I was trying to get a site into valid XHTML when I came across a few pages that used the <embed> tag to include .wav files which were used to show how certain products sounded. The client wanted to keep the embedded console in the page and not simply link to the sound files.

I've been messing around with variations of the <object> tag, but I haven't been able to get anything to work cross-browser. At this point I'd settle for something that validated and worked in IE5+, Mozilla & Opera 6+. Is this possible?

tedster

9:08 pm on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is still a knotty area, isn't it! I can't say I have the answer for you, but this conversation on the W3C lists might help.

Cross browser standards and the object tag [lists.w3.org]

bill

7:25 am on Jan 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks tedster...I didn't realize this was such a problem. My only alternative for these particular pages seems to be to stick with the <embed> tag as that does work cross-browser even if it doesn't validate.