Author: andre
Date: 2009-09-12 23:52:03 +0200 (Sat, 12 Sep 2009)
New Revision: 38568

Modified:
   openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
improved support for flowplayer, returns undefined when not loaded, made 
classes from controls



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 21:51:43 UTC (rev 38567)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2009-09-12 21:52:03 UTC (rev 38568)
@@ -47,28 +47,28 @@
   
   <c:choose>
     <c:when test="${empty mediaurls}">
-      <div id="vplayer" class="inavailable">
+      <div id="oiplayer" class="inavailable">
         <p>No video links available (yet).</p>
       </div>
     </c:when>
     <c:otherwise>
-      <div id="vplayer">
-        <video
-               controls="true"
-               width="${w}"
-               height="${h}"
-               poster="${poster}"
-               autobuffer="false">
-          <mm:write referid="mediaurls" escape="none" />
-          <p>
-            You need a browser that understands the html5 video tag to play 
this media item.
-          </p>
-        </video>
-      </div>
-      <div id="playercontrols">
-        <ul>
-          <li id="play"><a href="#">play</a></li>
-          <li id="position"> 
+      <div id="oiplayer">
+        <div class="player">
+          <video
+                 controls="true"
+                 width="${w}"
+                 height="${h}"
+                 poster="${poster}"
+                 autobuffer="false">
+            <mm:write referid="mediaurls" escape="none" />
+            <p>
+              You need a browser that understands the html5 video tag to play 
this media item.
+            </p>
+          </video>
+        </div>
+        <ul class="controls">
+          <li class="play"><a href="#">play</a></li>
+          <li class="position"> 
             <c:choose>
               <c:when test="${!empty length}">
                 <mm:time time="$length" inputformat="S" format="mm:ss" />
@@ -76,7 +76,6 @@
               <c:otherwise>00:00</c:otherwise>
             </c:choose>
           </li>
-          <li class="playerinfo">  <!-- empty --> </li>
         </ul>
       </div>
     </c:otherwise>

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

Reply via email to