jQTouch 应用程序:iPod:嵌入 YouTube 视频 - 不支持格式
我终于得到了我的 jQTouch/iPod Web 应用程序嵌入了视频。感谢瑞安·贝茨。 HTML 代码如下所示:
<div style="text-align: center;">
<object width="320" height="320">
<param name="movie" value="http://www.youtube.com/v/DZSZIfhzc3A?fs=1&hl=en_US" />
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
<embed src="http://www.youtube.com/v/DZSZIfhzc3A?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="320" />
</object>
</div>
问题是,尽管视频显示正常并且 YouTube 播放器正常启动,但我收到一条消息,指出不支持该格式。
我需要做什么才能获得 iPod Touch 播放的正确格式,或者获得可在 iPod Touch 上运行的播放器?
I finally got my jQTouch/iPod web app embedding a video. Thanks to Ryan Bates.
The HTML code looks like this:
<div style="text-align: center;">
<object width="320" height="320">
<param name="movie" value="http://www.youtube.com/v/DZSZIfhzc3A?fs=1&hl=en_US" />
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
<embed src="http://www.youtube.com/v/DZSZIfhzc3A?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="320" />
</object>
</div>
The problem is that even though the video displays fine, and fires up the YouTube player fine, I get a message that says that the format is not supported.
What do I have to do to get the right format for the iPod Touch to play, or to get a player that works on the iPod Touch?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
闪光人,你不能使用闪光。使用 HTML5 嵌入代码。我不确定你的管子有一个。如果不查看 www.vimeo.com
Flash man you can`t use flash. Use the HTML5 embed code. I am not sure you tube has one. If it does not look into www.vimeo.com