I have some MP4s that live above web root. I use a PHP script that delivers the video to the user. The reason for this is I want them logged in in order to view the videos. I have it working on the iOS and it works great. When I try to view it on an android device, I get a "Video cannot be played" error. Any ideas what I am doing wrong? Here is my PHP script and remember this script is working great on iPhone and iPad.
Basically the script is a byte range download. That allows (at least on the iOS) you to skip ahead in a video even if it hasn't downloaded all the way