开发者

Embed a YouTube video in HTML5 without Flash

开发者 https://www.devze.com 2023-01-20 10:54 出处:网络
Is it possible to embed a 开发者_JAVA技巧YouTube video on your own website using HTML5, so it can be played on Safari on iPhone without Flash?According to http://apiblog.youtube.com/2010/07/new-way-to

Is it possible to embed a 开发者_JAVA技巧YouTube video on your own website using HTML5, so it can be played on Safari on iPhone without Flash?


According to http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html:

<iframe src="http://www.youtube.com/embed/VIDEO_ID"></iframe>

That will play in HTML5 video (falling back on Flash when HTML5 video is unavailable).

0

精彩评论

暂无评论...
验证码 换一张
取 消