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!

4

1 回答 1

0

您可以在 youtube 上上传视频并将其添加到您的网站,方法是iframe

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

如果设备不支持 Flash,它将自动切换到 HTML5 播放器。

于 2012-11-14T04:14:56.797 回答