Author: michiel
Date: 2009-09-23 23:02:43 +0200 (Wed, 23 Sep 2009)
New Revision: 38834

Modified:
   openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
  OIP-85

Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
===================================================================
--- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2009-09-23 21:01:06 UTC (rev 38833)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2009-09-23 21:02:43 UTC (rev 38834)
@@ -40,19 +40,13 @@
 
 
   <mm:import id="mediaurls">
-
-    <!-- I think what is happening here, should be happening in filters.xml -->
-
-    <mm:listfunction name="filteredurls">
-      <c:if test="${_.available}">
+    <mm:functioncontainer>
+      <mm:param name="format">OGV,MP4</mm:param>
+      <mm:listfunction name="filteredurls">
         <source src="${mm:escape('text/xml', _.URL)}" 
type="${_.format.mimeType}; codecs=${mm:escape('lowercase', 
_.codec)}"><jsp:text> </jsp:text></source>
-      </c:if>
-      <c:if test="${_.state eq 'SOURCE_UNSUPPORTED'}">
-        <mm:import id="unsupported" reset="true">true</mm:import>
-      </c:if>
-    </mm:listfunction>
+      </mm:listfunction>
+    </mm:functioncontainer>
   </mm:import>
-  <c:if test="${!empty unsupported}"><mm:import id="mediaurls" 
reset="true"></mm:import></c:if>
 
   <c:choose>
     <c:when test="${empty mediaurls}">

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to