Author: andre
Date: 2010-05-31 14:55:17 +0200 (Mon, 31 May 2010)
New Revision: 42335
Modified:
openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
closed source tag, added classes for duration and start
Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
===================================================================
--- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
2010-05-31 12:54:50 UTC (rev 42334)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
2010-05-31 12:55:17 UTC (rev 42335)
@@ -38,7 +38,7 @@
<mm:functioncontainer>
<mm:param name="format">OGV,MP4,OGG</mm:param>
<mm:listfunction name="filteredurls">
- <source src="${mm:escape('text/xml', _.URL)}" type="${_.mimeType};
codecs=${mm:escape('lowercase', _.codec)}"><jsp:text> </jsp:text></source>
+ <source src="${mm:escape('text/xml', _.URL)}" type="${_.mimeType};
codecs=${mm:escape('lowercase', _.codec)}" />
</mm:listfunction>
</mm:functioncontainer>
</mm:import>
@@ -55,11 +55,12 @@
</div>
</c:when>
<c:otherwise>
- <video
- controls="controls"
- width="${w}"
- height="${h}"
- poster="${poster}">
+ <video
+ class="oip_ea_duration_${length / 1000} oip_ea_start_0"
+ controls="controls"
+ width="${w}"
+ height="${h}"
+ poster="${poster}">
<mm:write referid="mediaurls" escape="none" />
<p class="oiplayer-warn">
You need a browser that understands the html5 video tag to play this
media item.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs