[whatwg] Video proposals

Karl Dubost karl at w3.org
Sun Mar 18 21:11:37 PDT 2007


Le 16 mars 2007 à 20:23, Matthew Raymond a écrit :
> Laurens Holst wrote:
>
> | <object data="TheEarth.mpeg" type="video/ogg-theora"></object>

In fact
by http://www.w3.org/TR/html401/struct/objects.html#adef-type-OBJECT
type is optional, it is exactly the same

	<object data="TheEarth.mpeg"></object>
than
> | <video src="TheEarth.mpeg"></video>

>    Do you know the MIME type for Ogg Theora? I don't. I made it up. If
> the MIME type on the object listed doesn't say "video" in it, would  
> you
> even know if the <object> element was for a video???

The HTTP "Content-Type" has priority on any local specified "type"  
values.

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***






More information about the whatwg mailing list