W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Video (Was: How not to fix HTML)

From: Charles Iliya Krempeaux <supercanadian@gmail.com>
Date: Wed, 1 Nov 2006 13:30:45 -0800
Message-ID: <84ce626f0611011330v6ada61bnd17f88dadf2a20b2@mail.gmail.com>
Hello,

On 11/1/06, Christoph P?per <christoph.paeper at crissov.de> wrote:
>
> *Ian Hickson*, 2006-10-30:
> >
> > Sure. FWIW, there's a lot of interest in browser vendors about
> > introducing
> > a <video> element or some such (or maybe making browsers natively
> > support
> > video in <object>, or both).
>
> I think it would be helpful to /explicitly/ allow content types
> (alias media types) in |type| of |object| to omit the subtype, e.g.:
>
>    <object type="video" data="foo.mpv"/>
>    <object type="audio" data="foo.mpa"/>
>    <object type="image" data="foo.png"/>       ~= <img src="foo.png">
>    <object type="application" data="foo.swf"/> ~= <embed src="foo.swf"/>
>    <object type="text" data="foo.txt"/>        ~= <iframe src="foo.txt"/>
>

+1 for something like that.

ALOT of "normal" web developers have problems with MIME types.  (They don't
have them memorized.  And don't know what MIME type corresponds to what file
type.)

I've done things where I've asked people to add a "type" attribute to
<a>'s... but "normal" web developers find this difficult.

They know what they are dealing with is a "video"... but they don't know the
different MIME types.  Like: "video/mpeg" for .mpg files, "video/x-ms-wmv"
for .wmv files, "application/ogg" for Ogg Theora files, etc.

Simplifying it to allow type="video" would make life alot easier on web
developers IMO.  And alot of times, when I asked web developers to do this,
I didn't care what the subtype was... I only cared whether it was a "video"
or not.


See ya

-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20061101/6b503249/attachment.htm>
Received on Wednesday, 1 November 2006 13:30:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC