[MAGNOLIA-3730] Add MimeMappings config for .m4a, .m4v, and .srt Created: 07/Jun/11  Updated: 02/Jan/12  Resolved: 02/Jan/12

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.5

Type: Task Priority: Neutral
Reporter: Matt Dertinger Assignee: Natascha Desmarais
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: XML File config.server.MIMEMapping.m4a.xml     XML File config.server.MIMEMapping.m4v.xml     XML File config.server.MIMEMapping.mp4.xml     XML File config.server.MIMEMapping.srt.xml    
Issue Links:
Cloners
clones MGNLDMS-211 MimeMappings config should include ma... Closed
relation
is related to MAGNOLIA-3427 Introduce an icon for mov mime-type Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-3767 Update MimeMapping for mp4 and add co... Sub-task Closed Natascha Desmarais  
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Currently there are no mime mappings for .m4a, m4v, and .srt files. Config files for these are attached.



 Comments   
Comment by Matt Dertinger [ 07/Jun/11 ]

Hi,

It looks like Tomcat 7 was recently patched for the same issue:

Bug 51050 - MIME types for m4a & m4v files

I'm attaching another config file for the current mp4 MimeMapping config. According to the links cited on the Tomcat Issue, I think it would be safe to change it's mime-type from application/octet-stream to video/mp4.

Here are the relevant links copied from the Tomcat 7 Issue:

  1. MIME Type Registration for MPEG-4
  2. MPEG-4 Part 14

One more question I have is:

  1. Looking at the default Tomcat 7 web.xml file there are some additional mime-mappings registered for audio/mp4, video/mp4 and application/mp4 mime-types, should Magnolia mirror these? The following is a list of these:
  <mime-mapping>
    <extension>m4b</extension>
    <mime-type>audio/mp4</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>m4r</extension>
    <mime-type>audio/mp4</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mp4a</extension>
    <mime-type>audio/mp4</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mp4s</extension>
    <mime-type>application/mp4</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mp4v</extension>
    <mime-type>video/mp4</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mpg4</extension>
    <mime-type>video/mp4</mime-type>
  </mime-mapping>

Thanks,
Matt

Comment by Matt Dertinger [ 07/Jun/11 ]

Updated MimeMapping config for mp4 extension.

Comment by Matt Dertinger [ 07/Jun/11 ]

Hi again,

I was looking for an Icon for .srt files, and I came across the following links. I'm not sure if their licenses are compatible with Magnolia's, but I thought I'd provide them for your review.

  1. http://www.softicons.com/free-icons/system-icons/desire-icons-by-dreamxis/srt-icon - License: CC Attribution-NonCommercial-NoDerivs 3.0 Unported
  2. http://www.iconseeker.com/search-icon/vlc-icons/srt.html - License: Free for personal non-commercial use, Includes a link back to author site.
  3. http://www.iconseeker.com/search-icon/vlc-icons-vol2/srt-1.html - License: Free for personal non-commercial use, Includes a link back to author site.

Cheers,
Matt

Comment by Natascha Desmarais [ 27/Jul/11 ]

Hello Matt

Thanks for all the infos. I discussed this shortly and unfortunately it seems that the licenses do not meet our requirements.
Regards
Natascha

Comment by Natascha Desmarais [ 05/Aug/11 ]

Change update method to BootstrapConditionally(..) (extra update task will be removed in subtask MAGNOLIA-3767)

Comment by Natascha Desmarais [ 05/Aug/11 ]

Changed to BootstrapConditionally (extra update task will be removed in the MAGNOLIA-3767 subtask / r48034 + backport)

Comment by Jan Haderka [ 16/Aug/11 ]

AFAICT the fix is treating only update but not fresh install.

Comment by Jan Haderka [ 16/Aug/11 ]

Ooops.

Comment by Natascha Desmarais [ 08/Sep/11 ]

Reopening this issue as well since the reason for opening its subtask also concerns this issue here. (task description in 3rd person and full stop).
See comment on MAGNOLIA-3767 for further details.

Comment by Natascha Desmarais [ 08/Sep/11 ]

Wrote proper update task description.

Comment by Philipp Bärfuss [ 02/Jan/12 ]

Please close the linked issue MGNLDMS-211. Attention a comment from Matt mentions additional mime types. Make sure that they were added too.

Comment by Philipp Bärfuss [ 02/Jan/12 ]

Confirmed.

Generated at Mon Feb 12 03:49:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.