Author: andre
Date: 2009-09-13 00:54:41 +0200 (Sun, 13 Sep 2009)
New Revision: 38572
Modified:
openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
testing for unsupported original media file
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-12 22:52:52 UTC (rev 38571)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
2009-09-12 22:54:41 UTC (rev 38572)
@@ -42,13 +42,22 @@
<c:if test="${_.available}">
<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:import>
+ <c:if test="${!empty unsupported}"><mm:import id="mediaurls"
reset="true"></mm:import></c:if>
<c:choose>
<c:when test="${empty mediaurls}">
<div id="oiplayer" class="inavailable">
- <p>No video links available (yet).</p>
+ <p>
+ No media sources available.
+ <c:if test="${!empty unsupported}">
+ Unsupported original media file.
+ </c:if>
+ </p>
</div>
</c:when>
<c:otherwise>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs