Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Tested this with both 7-2.7 and 7-2.x-dev.
When you store a video file, original or converted, using the private file system the video file will not play back on iPhone, iPod, and iPad. Switching it back to public files and then re-uploading the video so it stores in the correct location the video will play back just fine.
It appears to work just fine on other devices.
Also, not sure if this is related: http://drupal.org/node/1293310
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedIs any information given in the Safari Mobile error log? Also, what player are you using?
Comment #2
jeremyr CreditAttribution: jeremyr commentedI'll have to check on the error log. But I have tested with JW Player, Flowplayer API, and Video JS.
Video JS will show the thumbnail (as will the others because this is stored in the public files) but you can't tap the play button. I assume this is because video js is waiting for the video file and can't read it.
Comment #3
Jorrit CreditAttribution: Jorrit commentedDo you have a page where I can test this behaviour with my iPad?
Comment #4
jeremyr CreditAttribution: jeremyr commentedI've setup a test site and I'll send you the details via the contact form.
Comment #5
Jorrit CreditAttribution: Jorrit commentedIt appears that streaming from the Drupal private file system to iOS is not possible: http://www.metaltoad.com/blog/iphone-video-streaming-drupals-file-system
The only solution that I know of is using the X-Sendfile module: http://drupal.org/project/xsendfile.
I have updated the module so a note is added to the fields where the private file system can be selected. There is not much else that I can do.
Comment #6
jeremyr CreditAttribution: jeremyr commentedIt was also suggested that I try http://drupal.org/project/resumable_download
Just tested it out since it only requires the module be enabled, it appears to resolve the private files steaming issues for iOS.
Comment #8
haysuess CreditAttribution: haysuess commentedI have my videos on an Amazon S3 instance, and using VideoJS as the player. They won't play on iPhone or iPad. I installed resumable_download and it still didn't work.
Any ideas? It works fine on every other device in the history of mankind but Apple.
Comment #9
haysuess CreditAttribution: haysuess commentedIt looks like my issue was different. I was using too high a profile and level.
Even dumber, my old iPhone 3GS that I use for testing is supposed to support Baseline at Level 3.1 for MP4, but nothing works unless I am at 2.1 or lower, so that's stupid.
Comment #10
Nil.Ned CreditAttribution: Nil.Ned commentedConfirm ... after a lot of research I found this solution "Resumable download" solve the problem with Ipad/iphone/ios!!
http://drupal.org/project/resumable_download
Thanx a lot!