Search code examples
iosiis-7m4v

m4v file won't play in safari browser on IOS


I'm trying to have a .m4v file play as a failover since IOS still won't allow Flash. I can play the .m4v file on Windows through a few browsers, but even if I go directly to the .m4v file on my server from an iPad it won't play. All I see is a black screen.

I have the debug console open and I don't receive any messages or see any content.

I deployed the .m4v file on my personal web server and can play it from there. The MIME type is correctly set.

This is the MIME type:

.m4v = video/x-m4v

What else could be wrongly set?

Here is an example of my HTML:

<video id="movie" width="320" height="240" preload controls>
    <source src="/SurroundHealth/videos/sample_ipod.m4v" />
    </object>
    <div class="fallback">
       <p>You must have an HTML5 capable browser.</p>
    </div>
</video>

Here is the url:

http://dev.surroundhealth.net/surroundhealth/videos/test.html


Solution

  • Never figured this out, so we put the video on youtube