title: How does the youtube iphone app work
body: <p>I want to make a youtube app like application for the iphone, where some videos are streamed/downloaded from a video site. But just by looking at the youtube app, I have a doubt.</p>
  
  <p>I searched around on google, and it seems iphone does not have builtin support to play flv files. So how is the youtube app able to play the videos? Where does the encoding etc happen?</p>