Closed (fixed)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2011 at 17:32 UTC
Updated:
13 Oct 2017 at 21:40 UTC
Jump to comment: Most recent
Comments
Comment #1
shixish commented+1
Comment #2
dave reidWe need to use hook_file_mimetype_mapping_alter() to add support for mkv and webm. We also need to ensure this is added to core as well.
Comment #3
dave reidComment #4
dave reidCore issue filed for mkv and mka: #1293140: Add support for mkv and mka file extensions.
Comment #5
dave reidAdded support for mkv and mka in file_entity and media:
http://drupalcode.org/project/file_entity.git/commit/5bf88b8
http://drupalcode.org/project/media.git/commit/fb71e88
I'm postponing support for webm as its an ambiguous as it could be either audio or video.
Comment #6
dave reidComment #7
dave reidHave looked up and Apache has officially add webm and weba as video and audio respectively.
Comment #8
dave reidThis has now been committed for weba and webm as well.
http://drupalcode.org/project/file_entity.git/commit/3297023
http://drupalcode.org/project/media.git/commit/5615746
Comment #10
joseph.olstadsince the core issue was fixed, these can be removed from file_entity
see commit.