English 中文(简体)
乌尔都语
原标题:HTML5 mp4 video working in Chrome and Desktop Safari but not iPhone

我正试图简单地播放一个与所有通用浏览器(包括移动装置)兼容的超5视频。 我现在用一个习俗录像和样本录像进行测试。

<video width="680" height="383" controls>
    <source src="immunize-video-1/immunize_web_h.264.mp4" type= video/mp4; codecs="avc1.42E01E, mp4a.40.2" >
    <source src="immunize-video-1/immunize_web_h.264.ogv" type= video/ogg; codecs="theora, vorbis" >
    [FLASH FALLBACK HERE]
</video>
<video width="680" height="383" controls>
    <source src="big-buck-bunny/big_buck_bunny.mp4" type= video/mp4; codecs="avc1.42E01E, mp4a.40.2" >
    <source src="big-buck-bunny/big_buck_bunny.ogv" type= video/ogg; codecs="theora, vorbis" >
    [FLASH FALLBACK HERE]   
</video>

The results on a staging server:

  • Chrome: OK
  • Desktop Safari 5: OK (screenshot)
  • iPhone Safari: Top video does not play (screenshot below) enter image description here

怎样才能使这项工作在桌面上进行,而不是在桌面上进行? 我在

<source src="immunize-video-1/immunize_web_h.264.mp4" type= video/mp4; codecs="avc1.64001E, mp4a.40.2" >

还试图离开法典空白:

<source src="immunize-video-1/immunize_web_h.264.mp4" type= video/mp4 >

但没有人列入名单。 该录像在3 000kb/s h.264出口。

此外,造成问题的视频是94台德国马克的档案。

最佳回答

i Os don不支持第26.4条提供的所有简介。 你们必须用基线图对头264进行编码,才能在电话/台上操作。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签