Author: andre
Date: 2010-06-14 21:53:27 +0200 (Mon, 14 Jun 2010)
New Revision: 42550

Modified:
   openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
added webm, tried to use audio codec but is of no use since Firefox chokes on 
it with ogv


Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
===================================================================
--- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2010-06-14 19:40:33 UTC (rev 42549)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2010-06-14 19:53:27 UTC (rev 42550)
@@ -36,10 +36,19 @@
 
   <mm:import id="mediaurls">
     <mm:functioncontainer>
-      <mm:param name="format">OGV,MP4,OGG,M3U8</mm:param>
+      <mm:param name="format">WEBM,OGV,MP4,OGG,M3U8</mm:param>
       <mm:listfunction name="filteredurls">
+        <!-- <c:choose>
+          <c:when test="${!empty _.acodec}">
+            <c:set var="codecs">${mm:escape('lowercase', _.codec)}, 
${mm:escape('lowercase', _.acodec)}</c:set>
+          </c:when>
+          <c:otherwise>
+            <c:set var="codecs">${mm:escape('lowercase', _.codec)}</c:set>
+          </c:otherwise>
+        </c:choose> -->
+        <c:set var="codecs">${mm:escape('lowercase', _.codec)}</c:set>
         <source src="${mm:escape('text/xml', _.URL)}" 
-                type="${_.mimeType}; codecs=${mm:escape('lowercase', 
_.codec)}" />
+                type="${_.mimeType}; codecs=${codecs}" />
       </mm:listfunction>
     </mm:functioncontainer>
   </mm:import>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to