-
Improvement
-
Resolution: Fixed
-
Critical
-
4.4.5
-
None
-
-
Yes
-
Empty show more show less
Hi,
Currently, there are no MimeMappings for webfonts and the WebM and Theora audio and video file formats. Adding the following update tasks to CoreModuleVersionHandler.java within the delta for the 4.5 release will add them.
.addTask(new AddMimeMappingTask("eot", "application/vnd.ms-fontobject", "/.resources/file-icons/eot.png")) .addTask(new AddMimeMappingTask("oga", "audio/ogg", "/.resources/file-icons/ogg.png")) .addTask(new AddMimeMappingTask("ogg", "video/ogg", "/.resources/file-icons/ogg.png")) .addTask(new AddMimeMappingTask("ogv", "video/ogg", "/.resources/file-icons/ogg.png")) .addTask(new AddMimeMappingTask("otf", "application/x-font-otf", "/.resources/file-icons/otf.png")) .addTask(new AddMimeMappingTask("ttf", "application/x-font-ttf", "/.resources/file-icons/ttf.png")) .addTask(new AddMimeMappingTask("weba", "audio/webm", "/.resources/file-icons/webm.png")) .addTask(new AddMimeMappingTask("webm", "video/webm", "/.resources/file-icons/webm.png")) .addTask(new AddMimeMappingTask("woff", "application/x-font-woff", "/.resources/file-icons/woff.png"))
Note: The tasks above reference file icons that don't yet exist. Those should probably be created and added to the magnolia-module-admininterface.
Let me know if you have any questions.
Cheers,
Matt
Acceptance criteria