I would like to see webm video format to be possible to upload and embedded via media wysiwyg editor's upload feature.
+1
We 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.
Core issue filed for mkv and mka: #1293140: Add support for mkv and mka file extensions.
Added 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.
Have looked up and Apache has officially add webm and weba as video and audio respectively.
This 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
Automatically closed -- issue fixed for 2 weeks with no activity.
since the core issue was fixed, these can be removed from file_entity see commit.
Issue #1134762 by Dave Reid, joseph.olstad: mappings for mkv and webm as...
Automatically closed - issue fixed for 2 weeks with no activity.
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.