html5 video not working on ipad

后端 未结 4 1199
暗喜
暗喜 2020-11-29 05:30

I have an html5 video that should work on ipad. Controls must be hide and on user tap on the ipad, the html5 video must play.

I am using html5video.js What I can se

4条回答
  •  [愿得一人]
    2020-11-29 05:58

    In my case the MIME type was correct but my server was not allowing the client to request partial files with the Range HTTP header. So the server must send "Accept-Ranges: bytes" when you request that mp4 file, the iPad will refuse to download that file if it is forced to download it entirely.

提交回复
热议问题