Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
3.0.7
-
None
-
None
-
Empty show more show less
-
Assets Maintenance 2
-
5
Description
Steps to reproduce
- In Code fetch an Asset that is an .ogv video via DamTemplatingFunctions#getAsset
- Call #getMimeType on the retrieved Asset
- Observe that this call returns 'video/theora' instead of 'video/ogg'
Expected results
- #getMimeType for a .ogv video asset yields 'video/ogg'
Actual results
- #getMimeType for a .ogv video asset yields 'video/theora'
Development notes
- According to https://en.wikipedia.org/wiki/Theora the official MIME type for files with extension .ogv is 'video/ogg'
- Please note that this happens even though the MIME type mapping configuration in '/server/MIMEMapping/ogv' maps to 'video/ogg'
NOTE: When the asset is uploaded the format is correctly set to video/ogg, once it is stored it is displayed as video/theora
Checklists
Acceptance criteria