I got an email from someone regarding a page i was working on and he was saying that the media wasn't playing.
Here's the code:
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="FileName" value="mp3/unsexually.mp3" /> </object>
It doesn't seem to be working in non-IE browsers.
Any ideas?
<object> tag in non-IE browsers
Very simple :
even though object tag is legitimate HTML4+ tag, IE (as always) decided to be smart and "improve" it. MIcrosoft, being formerly an ActiveX supporter, use the "clsid:" string to identify object as ActiveX control, the string following is a GUID. In other words, Microsoft uses object tag as an ActiveX control, and no other browser vendor on this planet supports it. WHich is not <object>'s fault.
If you need to know how it really works go to w3.org, and read HTML 4.01 specs, there you have all the attributes of the object tag without perky Microsoft feats.
F.e. "classid" is not even an attribute, use "type" instead. Macromedia Flash movies will be used as type="application/x-shockwave-flash".