title: How to Check if the browser supports HTML5?
body: <p><strong>EDIT</strong> I have changed some Javascript now, so if I can find a javascript function that detects HTML5 Video support, it <em>should</em> work.</p>
  
  <p>I have a HTML5 video player that has flash fallback, if HTML5 isnt supported, I want it to fallback to flash. Im currently using</p>
  
  <p><code>&lt;!--[if !IE]&gt;&lt;!--&gt; then load my custom player
  else use SWFObject to render it.
  </code></p>
  
  <p>Is it possible to do the folllowing:</p>
  
  <pre><code>`  If (HTML5 supported browser) {
   &lt;some html and script&gt;  (My custom player)
  }else{
    &lt;different html and script&gt; (I would call  SWFobject here)
  }
  `
  </code></pre>
  
  <p>Trying to find a nice easy solution idea.</p>
  
  <p>Usually I would be able to have an additional <code>&lt;object&gt;</code> in the video tag, but this won't be possible due to the way the player is inserted into the page. </p>
  
  <p>Even though I can detect HTML5 support with a possibly unreliable method, I'm not sure how to have my HTML based on the output of the support</p>