Hello,

We are having an issue where video saved as a private file, won't play on iPad or iPhone.
As a public file it plays fine.

We don't have any issues with private files on Android or PC. If anybody has any ideas on how to get private videos playing on iPad or iPhone it would be appreciated.

Thanks.

Comments

Anonymous’s picture

same issue to me

dpfitzsi’s picture

I've been testing out this module too and ran into the same problem.

However, there is a fix.

You will need to use a dev release of file entity, and the dev release of media would be a good idea for testing. A critical issue with private files was fixed back in March in the File Entity module and this goes a long way to solving this problem: https://drupal.org/node/1420812.

Now, the last step is to download and install the Resumeable Download module: https://drupal.org/project/resumable_download. This module fixes the viewing of private files for iPad and iPhones.

You may be able to just try downloading the Resumeable Download module first to see if that fixes the problem for you, but for me to get a fully reliable setup I had to grab the dev releases of Media and File Entity too.

shi99’s picture

Status: Active » Closed (fixed)

Sorry for the delay in getting back. Thank you for the help. Your suggestion of using the Resumable Download module solved my problem. Private videos play smoothly on the iPad and iPhone.

I'm going to mark it as fixed.

Thanks again.

pikadroo’s picture

Issue summary: View changes

It's been over a year since this was first posted and I am currently having this problem. I can't seem to get this solution to work with any version combination of resumable_download, media, file_entity, or media element. So Which versions of what modules currently allow me to use private files with media element?

Tmanagement’s picture

Hi,

We were having the same issue so I thought it might be valuable to post some links to the cause and solution

Has to do with iOS requesting a format that php cannot give without changes.
http://www.vdmi.nl/blog/streaming-ios-private-files-system

The following worked for us on Drupal 7
https://www.drupal.org/project/resumable_download

But also the following worked for us:
https://www.drupal.org/project/nginx_accel_redirect

We use Nginx as a server by the way. So not sure if this is helpful for Apache but I think it is.

rahul pandey 125’s picture

Yes, I just tried resumable download dev version module. and it works. thanks