简体   繁体   English

<video>在iPad上有效,但在iPhone上无效

[英]<video> works in the iPad, but not on the iPhone

I'm trying to embed an M4V video, it works on the iPad but not the iPhone. 我正在尝试嵌入M4V视频,它可以在iPad上运行,但不能在iPhone上运行。 On the iPhone I get a play button crossed over (the can't play button). 在iPhone上,我越过了播放按钮(无法播放按钮)。

I am testing this on iPhone 3.0 (Original iPhone). 我正在iPhone 3.0(原始iPhone)上对此进行测试。

Any help/advice would be great. 任何帮助/建议都很好。

My code: 我的代码:

<video id="sr-video" poster=''    controls="">

<source  src='http://blip.tv/file/get/FILE.m4v' type="video/m4v"  />

</video> 

Update: 更新:

I've added a mime type like so: 我添加了一个像这样的mime类型:

video/mp4 mp4 m4v mp4v mpg4 视频/ mp4 mp4 m4v mp4v mpg4

Did not help... 没有帮助...

What are the video/audio codecs and resolution of the video you are trying to play? 您要播放的视频/音频编解码器和视频的分辨率是多少? I would check that the format of the video is supported by the original iPhone, see: http://reviews.cnet.com/8301-19512_7-10114945-233.html 我将检查原始iPhone是否支持视频的格式,请参阅: http : //reviews.cnet.com/8301-19512_7-10114945-233.html

For instance, unlike the iPad and the latest iPhone, previous iPhone models were not capable of playing 720p video. 例如,与iPad和最新的iPhone不同,以前的iPhone机型无法播放720p视频。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM