We help IT Professionals succeed at work.
Get Started

Why will mp4 file not play via an intermediary script on an iPad when it will on all other platforms

Laride asked
Last Modified: 2014-08-18
We have installed video.js and can use it easily (great program) when directly accessing an mp4 file. ie we call the file directly from the javascript code.

In order to introduce security and stop people seeing the location of the file we changed the file location to be a  .asp file which does a look up on an ID to get the file name and location path from the database and then run the video.

This is simple code and works fine on all computers we have tried it on and android devices ... however it will not play on an iPad or iPhone though. If we hit the mp4 directly the iPad plays it, if we hit the file first it will not.

Does anybody have any idea why not? We do not have access to Apple development tools to troubleshoot it.
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE