- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Sat, 11 Jul 2009 13:31:50 +1200
On Sat, Jul 11, 2009 at 5:23 AM, Aryeh Gregor <Simetrical+w3c at gmail.com<Simetrical%2Bw3c at gmail.com> > wrote: > Maybe you'd try testing all the video types you support, and > if one is "maybe" while another is "probably" you'd go with > "probably"? Right. Or you might have plugin-based fallback you can use if you get "maybe". Other authors with no plugin-based fallback would go ahead if they get "maybe". Programmers expect binary logic, > not ternary (look at the complaints about SQL's NULL). > I agree. In the past I argued for two boolean functions. Anyway, it's a little late now to change canPlayType more than we just did. There is already deployed content checking for "probably"/"maybe". Rob -- "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 53:5-6] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090711/737243cf/attachment.htm>
Received on Friday, 10 July 2009 18:31:50 UTC