[whatwg] Scripted <video> query proposal

Robert O'Callahan robert at ocallahan.org
Fri Aug 22 17:53:47 PDT 2008

On Sat, Aug 23, 2008 at 11:21 AM, Eric Carlson <eric.carlson at apple.com>wrote:

>   A three state return is an interesting idea, but wouldn't you then be
> required to return "maybe" for MIME types that can describe multiple
> formats? For example, "video/mpeg" can be used to describe a video
> elementary stream, an MPEG-1 system stream, an MPEG-2 program stream, or an
> MPEG-2 transport stream. "application/ogg" can include dirac, flac,
> theora, vorbis, speex, midi, cmml, png, mng, jng, celt, pcm, kate, and/or
> yuv4mpeg. And then there is "video/quicktime"...
>   I think it makes more sense to leave it as a boolean, where "no" means
> the UA does not support the type, and "yes" means that the UA implements
> some support for the type but errors can occur during loading and/or
> decoding.

OK, for extensible container types with no codec information supplied, the
browser would have to return "maybe". But how is that worse than defining
"yes" to mean "maybe"?

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080823/b7a93a83/attachment-0001.htm>

More information about the whatwg mailing list