I want to serve a mp4 video in a HTML document but it doesn’t play on the live server. Locally it works.
Even using only the file without any HTML it does play when I use my local Apache. On the webserver the iPad says “Movie could not be played”
The header for the file is “video/mp4” on both Servers.
What could be the problem here?
Regards
UPDATE:
Header local Apache:
Accept-Ranges bytes
Cache-Control max-age=86400
Connection Keep-Alive
Content-Length 8993646
Content-Type video/mp4
Date Thu, 23 Feb 2012 14:40:58 GMT
Etag “733258-893b6e-36d96c80”
Keep-Alive timeout=15, max=100
Last-Modified Thu, 23 Feb 2012 10:36:18 GMT
Header live server:
Cache-Control max-age=86400
Connection Keep-Alive
Content-Length 8993670
Content-Type video/mp4
Date Thu, 23 Feb 2012 14:40:40 GMT
Keep-Alive timeout=15, max=100
Server Apache
X-Mod-H264-Streaming version=2.0
What’s also weird is that the Content-Length differs from local to live…
Solution is a wrong
Conten-Lengthheader from the live-server. After fixing this problem it worked.Collegue fixed server settings, so I don’t know excactly what he did. Just that the lenght is now the same as on my local machine