Hi there,<br><br>When I was playing around with the <video> element today I noticed my browser didn't seem to handle errors in a way that was very useful. Specifically, I am using the Safari 4 beta on Windows Vista. When I tried putting the page together, my markup was coded in this way:<br>
<br><span style="background-color: rgb(255, 255, 0);"><video src="firefox.ogv" autoplay></span><embed id="VideoPlayback" <br>src="<a href="http://video.google.com/googleplayer.swf?docid=8665396898313695852&amp;hl=en&amp;fs=true">http://video.google.com/googleplayer.swf?docid=8665396898313695852&amp;hl=en&amp;fs=true</a>" <br>
style="width:344px;height:285px;" allowFullScreen="true" allowScriptAccess="always"<br>type="application/x-shockwave-flash" /><span style="background-color: rgb(255, 255, 102);"></video></span><br>
<br>I was trying to grab the video from the WHATWG demo page but I forgot that I copied a relative link. So without knowing that the video would not work in the first place, I tried opening up a valid HTML 5 page with this particular set of markup. It didn't play. But not only did it not play, Safari refused to do anything to tell me something was wrong. Instead I just saw a blank page.<br>
<br>When I tried a random mp4 file, I got a green box, but no playback. When I finally learned I was using a relative link and put in the full URI for the firefox.ogv video, it still didn't work.<br><br>My observation is that if it is not already recommended in the spec, browsers should offer some sort of indication it could not use whatever file format it was supplied or received something like a 404 from the server. Whether it's a broken video box icon, or automatically reverting to the fallback content within the <video> element (if it exists), I think there should be some sort of warning or indication of a failure. <br>
<br>What kind of error handling does the <video> element have?<br><br>Cheers,<br><br>Nathanael<br><br><br>