On Sat, Jul 11, 2009 at 5:23 AM, Aryeh Gregor <span dir="ltr"><<a href="mailto:Simetrical%2Bw3c@gmail.com">Simetrical+w3c@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Maybe you'd try testing all the video types you support, and<br>
if one is "maybe" while another is "probably" you'd go with<br>
"probably"? </blockquote><div><br>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".<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Programmers expect binary logic,<br>
not ternary (look at the complaints about SQL's NULL).<br>
</blockquote></div><br>I agree. In the past I argued for two boolean functions.<br><br>Anyway, it's a little late now to change canPlayType more than we just did. There is already deployed content checking for "probably"/"maybe".<br>
<br clear="all">Rob<br>-- <br>"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]<br>