On Wed, Nov 12, 2008 at 11:19 PM, Jonas Sicking <span dir="ltr"><jonas@sicking.cc></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;">
An additional, though rather minor problem, is that implementations will have to delay the loadstart event until it has confirmed that the targeted file is in fact a real video file, and has confirmed that with relatively high level of confidence. Otherwise the size of random HTML files can be measured using the <video> element.</blockquote>
<div><br>We can fire "loadstart" normally and return 0 in the "loaded" attribute and "unknown" in the "total" attribute (however that should be encoded). (We have to be able to return "unknown" since there can be situations, e.g. live streams, where we'll never know the total size.) <br>
<br>Rob<br>--<br></div></div>"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>