Shouldn't you always close the tags, either self-closing or with a separate close tag? That is, this is the correct way to do it:<br><br>
<video width="640" height="360" style="color:red"><br>
<source src="bunny.ogv" type="video/ogg" /><br>
<source src="bunny.mp4" type="video/mp4" /><br>
</video><br>
<p>Text after the video element.</p><br><br>Marius Gundersen<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 2:28 AM, Dean Edwards <span dir="ltr"><<a href="mailto:dean.edwards@gmail.com">dean.edwards@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm currently writing a JavaScript implementation of the <video> element.<br>
<br>
I'm running into problems with Opera9.52.<br>
<br>
If I use the following markup then the text in the following <p> element is coloured red:<br>
<br>
<video width="640" height="360" style="color:red"><br>
<source src="bunny.ogv" type="video/ogg"><br>
<source src="bunny.mp4" type="video/mp4"><br>
</video><br>
<p>Text after the video element.</p><br>
<br>
Opera, before version 10, treats all unknown elements as block elements. That means that all elements following the first <source> element are children of the first <source> element. This is potentially disastrous.<br>
<br>
The only solution is to add closing tags:<br>
<br>
<video width="640" height="360" style="color:red"><br>
<source src="bunny.ogv" type="video/ogg"></source><br>
<source src="bunny.mp4" type="video/mp4"></source><br>
</video><br>
<br>
But then it is invalid.<br>
<br>
Is there any way we can change the content model for this element (and possibly <command>) to phrasing? The text content could be descriptive of the particular media or provide a fallback to download the file.<br>
<br>
<source src="bunny.ogv" type="video/ogg"><br>
<a href="bunny.ogv">download this video in OGG format</a><br>
</source><br>
<br>
Or do we not care about edge cases like this?<br><font color="#888888">
<br>
-dean<br>
</font></blockquote></div><br>