We experience an issue with playing a mp4 file on ipad on webpage with a video HTML 5 player.
Issue: It does not work on ipad/iphone. On all other platforms (Windows,Android, iOS desktop) it works fine.
This is the code:
<video id="my-video" width="400" height="240" preload="true" controls >
<source src="/media/video/6d9ab49-9936-4194-acvb-3cd9b60521fg/myvideo.mp4" />
</video>
Connected the ipad to the Mac to debug: A message 'requested resource cannot be found'. Does sound very clear but does not make sense because the mp4 file is accessible when you paste the url into the browser address bar.
Already tested and checked:
- set src of mp4 to fullpath (including https:// or http://) instead of using the virtual path ;
- checked hostingprovider for 'Accept-Ranges: bytes' (with partial content (206) responses) ; settings are ok
- play the same mp4 file from a remote url (accessed with or without https); strange but imporant : that works !
So I guess the issue really is that the mp4 can not be found or loaded on ipad. But why? Hope someone can help.
src
? – Offbeatmammal