svn commit: r634783 - in /ofbiz/trunk/applications/content/data: MimeTypeData.xml MimeTypeTemplate.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r634783 - in /ofbiz/trunk/applications/content/data: MimeTypeData.xml MimeTypeTemplate.xml

jaz-3
Author: jaz
Date: Fri Mar  7 11:18:34 2008
New Revision: 634783

URL: http://svn.apache.org/viewvc?rev=634783&view=rev
Log:
added mime type data for mp4

Modified:
    ofbiz/trunk/applications/content/data/MimeTypeData.xml
    ofbiz/trunk/applications/content/data/MimeTypeTemplate.xml

Modified: ofbiz/trunk/applications/content/data/MimeTypeData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/MimeTypeData.xml?rev=634783&r1=634782&r2=634783&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/data/MimeTypeData.xml (original)
+++ ofbiz/trunk/applications/content/data/MimeTypeData.xml Fri Mar  7 11:18:34 2008
@@ -98,6 +98,7 @@
     <!-- video mime types -->
     <MimeType mimeTypeId="video/avi" description="AVI Video"/>
     <MimeType mimeTypeId="video/mpeg" description="MPEG/MPG Video"/>
+    <MimeType mimeTypeId="video/mp4" description="MPEG-4 (H.264) Video"/>
     <MimeType mimeTypeId="video/quicktime" description="Quicktime Video"/>
     <MimeType mimeTypeId="video/x-ms-asf" description="ASF Video"/>
     <MimeType mimeTypeId="video/x-flv" description="Flash Streaming Video"/>
@@ -118,6 +119,8 @@
     <FileExtension fileExtensionId="tiff" mimeTypeId="image/tiff"/>
     <FileExtension fileExtensionId="gif" mimeTypeId="image/gif"/>
     <FileExtension fileExtensionId="png" mimeTypeId="image/png"/>
+    <FileExtension fileExtensionId="mp4" mimeTypeId="video/mp4"/>
+    <FileExtension fileExtensionId="m4v" mimeTypeId="video/mp4"/>
     <FileExtension fileExtensionId="mpg" mimeTypeId="video/mpeg"/>
     <FileExtension fileExtensionId="mpeg" mimeTypeId="video/mpeg"/>
     <FileExtension fileExtensionId="mov" mimeTypeId="video/quicktime"/>

Modified: ofbiz/trunk/applications/content/data/MimeTypeTemplate.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/MimeTypeTemplate.xml?rev=634783&r1=634782&r2=634783&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/data/MimeTypeTemplate.xml (original)
+++ ofbiz/trunk/applications/content/data/MimeTypeTemplate.xml Fri Mar  7 11:18:34 2008
@@ -31,5 +31,6 @@
 
     <!-- video templates -->
     <MimeTypeHtmlTemplate mimeTypeId="video/quicktime" templateLocation="component://content/template/mime-type/quicktime.ftl"/>
+    <MimeTypeHtmlTemplate mimeTypeId="video/mp4" templateLocation="component://content/template/mime-type/quicktime.ftl"/>
     <MimeTypeHtmlTemplate mimeTypeId="video/x-flv" templateLocation="component://content/template/mime-type/flash-flv.ftl"/>    
 </entity-engine-xml>