Mp4 video won't play in the iPad

后端 未结 3 1954
遥遥无期
遥遥无期 2021-01-03 00:54

Good day, I\'ve been working on this project and learning how to place a video on the ipad, and all the other browsers.

But after writing the code for this, I notic

相关标签:
3条回答
  • 2021-01-03 01:25

    maybe it's better if you also specify the basic media codecs

    <source src="video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
    
    0 讨论(0)
  • 2021-01-03 01:33

    What are the spec of the mp4 video (resolution and profile)?. The iPad doesn't support all the varieties of mp4.


    Did you try a simple html without the flash and the ogv source?


    It looks like your over sepc:

    iPad Supported Video Format

    • H.264 video (up to 720p, 30 frames per second; main profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats)
    • MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    0 讨论(0)
  • 2021-01-03 01:43

    Could this be it?

    "iOS will not recognize the video if you include a poster attribute. The poster attribute of the element allows you to display a custom image while the video is loading, or until the user presses “play.” This bug is fixed in iOS 4.0, but it will be some time before users upgrade."

    Found it in Dive into HTML5

    0 讨论(0)
提交回复
热议问题