This is probably not an issue with the video module, but I'm hoping the authors have seen this type of issue before. I use this module along with the video.js module.

When I upload an mp4 (h264, AAC) it works fine.

When I upload the same file as an m4v file, I don't see any player show up. When the video is attached as an .mp4 file, it shows as mime type video/mp4 and the player loads properly. When I upload it as m4v, I get the mime type application/octet stream and the player doesn't load.

I edited /etc/mime.types to look like this:

video/mp4 mp4 m4v

and restarted Apache, but no change. Do I have to edit something else to get apache mime types updated? Should I instead use the video/x-m4v mimetype? Do I need to do something so that admin/settings/video/players has an entry for 'Extension M4V'?

Comments

meecect’s picture

I discovered that drupal has its own mimetypes file. I added the m4v extension to the video/mp4 mimetype. Now when I upload an m4v file to my node, it shows the video/mp4 mimetype, however, when the node is viewed no player shows up as before.

meecect’s picture

Another update. If I change the cck field display settings to videojs instead of video, it works, but then I lose most of the benefits of this moduel (setting player size, transcode options). So, it seems like the problem is in this module, but not sure where.

Jorrit’s picture

Status: Active » Fixed

I have added support for selecting a player for m4v videos in 6.x-5.x-dev. A new build with this change will be available within 12 hours.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.