0

I want to develop a mobile version of my website, in which I need to embed youtube video/ upload my own flv file and play it in my website, How should I implement this? Should I develop an Flash player by myself? How can I make iPhone play my flv files/Youtube ?

Thanks in advance!

MemoryLeak
  • 7,322
  • 23
  • 90
  • 133
  • Some answers here might help and the first answer claims it works in iphone as well: http://stackoverflow.com/questions/1711078/html5-video-element-on-android – AaronLS Nov 14 '12 at 04:20

1 Answers1

0

You can upload your videos on youtube and add them to your website using iframe:

<iframe src="http://www.youtube.com/embed/VIDEO_ID"
   width="yourwidth" height="yourheight"></iframe>

It will automatically switch to the HTML5 player if the device doesn't support flash.

Aniruddh
  • 7,648
  • 1
  • 26
  • 43