title: Possible to switch between flash and IOS component?
body: <p>I have a website that uses flash.
  Is it possible to do something like this</p>
  
  <p>pseudo code</p>
  
  <pre><code>if (user_agent == iOS[ipad, iphone, what-have-you])
      show_ios_component
  else
      show_flash_component
  </code></pre>
  
  <p>My question is thus: is there a way to build "apps" that run on websites.
  I see this all the time for video sites like YouTube, MSNBC etc i.e. that their video player all of a sudden works in iOS browsers like safari and chrome run on iPad, iPhone etc.</p>
  
  <p>Thanks.</p>