On Sat, Mar 28, 2009 at 5:57 PM, Benjamin M. Schwartz <span dir="ltr"><<a href="mailto:bmschwar@fas.harvard.edu">bmschwar@fas.harvard.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What is the recommended way to handle the <video> tag on such hardware?<br>
<br>
There are two obvious solutions:<br>
0. Implement the spec, and just let it be really slow.<br>
1. Attempt to approximate the correct behavior, given the limitations of<br>
the hardware. Make the video appear where it's supposed to appear, and<br>
use the 1-bit alpha (dithered?) to blend static items over it. Ignore<br>
transparency of the video. Ignore rotations, etc.<br>
2. Ignore the HTML context. Show the video "in manners more suitable to<br>
the user (e.g. full-screen or in an independent resizable window)".</blockquote><div><br>3. Add an optimized path to detect when the YUV overlay can be used to give the correct rendering, and use it in that case.<br>
<br>This is not a spec issue, it's entirely an implementation issue. You're welcome to file a bug on that at <a href="http://bugzilla.mozilla.org">http://bugzilla.mozilla.org</a>; I can explain there more details about how it could be done, but it's unlikely to happen anytime soon unless a volunteer contributes the code.<br>
<br>Rob</div></div>-- <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>