HTML5 mp4 video working in Chrome and Desktop Safari but not iPhone

后端 未结 2 345
失恋的感觉
失恋的感觉 2021-01-13 03:50

I am trying to simply play an HTML5 video which will be compatible with all common browsers (including mobile devices). For now, I am testing with one custom video and a sam

相关标签:
2条回答
  • 2021-01-13 04:09

    iOs doesn't support all the profiles that h.264 provides. You have to encode your h264 with a baseline profile only in order for it to be playable on iphone/ipad.

    0 讨论(0)
  • 2021-01-13 04:17

    Please try to use QuickTime Player to export the video optimized for iPhone, check out this blog post http://www.treysmithblog.com/how-to-make-html5-videos-for-iphone-and-ipad/

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