[whatwg] Serving up Theora <video> in the real world
ian at hixie.ch
Thu Jul 9 21:39:02 PDT 2009
On Thu, 9 Jul 2009, Maciej Stachowiak wrote:
> On Jul 9, 2009, at 9:15 PM, Robert O'Callahan wrote:
> > I actually anticipated this problem, and argued strenuously to break
> > canPlayType into two boolean functions, "canPlayType" and
> > "cannotPlayType", but I lost. Hopefully most Web authors are smarter
> > than I am.
> I think at one point I suggested that canPlayType should return one of
> boolean false, true or "maybe", so that naiive boolean tests would work.
> Or in any case, make the "no" option something that tests as boolean
I've changed the API to return "" instead of "no".
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg