title: Video encoding for websites
body: <p>I am a little new to embedding videos on a website. What is the best way to go about it? I just started reading up on it. </p>
  
  <p>I read that I should use HTML5 and the browser's native player. -- Does anyone know of a javascript library that will use the browser's player and detect if the browser is not using HTML5 to downgrade to a flash player?</p>
  
  <p>As far as encoding what is the best approach? I am planning on writing a little console app to use FFMPEG to convert the videos. But what encoding should I use? I heard H.264 is promising? But </p>