Video on site that supports Iphone/Android devices

Hi,

I’m building a site where users can upload video clips. I want users with mobile devices such as Iphone and Android based smartphones to be able to use the site and watch the videos, but I know that phone and Android are a little picky when it comes to vidoe codecs/formats.
I did some reading but I’m still a little confused so I would appreciate a little help here putting the pieces of puzzle in my brain in place :slight_smile:

So I know that Iphone and some versions of Android don’t support Flash, So its best if by default the site uses HTML5 and fall back to a Flash player for non supporting browsers. And I know that Iphone can only play videos encoded in H264 codec with an mp4 or m4v format.

My questions are:

  1. Do I need two versions of each video? one H264/mp4/m4v for HTML5 to play if possible and another flv to be played for the Flash fallback option?
  2. or Can I use Flash player to play mp4/m4v files too?

Hope someone could at least point me in the right direction…

thanks in advance

Don’t cross post