Author: andre
Date: 2009-11-20 11:31:11 +0100 (Fri, 20 Nov 2009)
New Revision: 39816

Modified:
   openimages/trunk/src/main/webapp/WEB-INF/tags/oip/audio.tagx
   openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
Log:
these div's are no longer needed

Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/audio.tagx
===================================================================
--- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/audio.tagx        
2009-11-20 10:12:37 UTC (rev 39815)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/audio.tagx        
2009-11-20 10:31:11 UTC (rev 39816)
@@ -39,7 +39,7 @@
 
   <c:choose>
     <c:when test="${empty mediaurls}">
-      <div id="oiplayer" class="inavailable">
+      <div class="inavailable">
         <p>
           <jsp:text>No audio sources available.</jsp:text>
           <c:if test="${!empty unsupported}">
@@ -49,28 +49,13 @@
       </div>
     </c:when>
     <c:otherwise>
-      <div id="oiplayer">
-        <div class="player">
-          <img src="${poster}" alt="audio" width="${w}" height="${h}" />
-          <audio controls="controls">
-            <mm:write referid="mediaurls" escape="none" />
-            <p>
-              You need a browser that understands the html5 audio tag to play 
this media item.
-            </p>
-          </audio>
-        </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" />
-              </c:when>
-              <c:otherwise>00:00</c:otherwise>
-            </c:choose>
-          </li>
-        </ul>
-      </div>
+      <audio controls="controls">
+        <img src="${poster}" alt="audio" width="${w}" height="${h}" />
+        <mm:write referid="mediaurls" escape="none" />
+        <p>
+          You need a browser that understands the html5 audio tag to play this 
media item.
+        </p>
+      </audio>
     </c:otherwise>
   </c:choose>
 

Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx
===================================================================
--- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2009-11-20 10:12:37 UTC (rev 39815)
+++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/video.tagx        
2009-11-20 10:31:11 UTC (rev 39816)
@@ -39,7 +39,7 @@
 
   <c:choose>
     <c:when test="${empty mediaurls}">
-      <div id="oiplayer" class="inavailable">
+      <div class="inavailable">
         <p>
           <jsp:text>No media sources available.</jsp:text>
           <c:if test="${!empty unsupported}">
@@ -49,31 +49,16 @@
       </div>
     </c:when>
     <c:otherwise>
-      <div id="oiplayer">
-        <div class="player">
-          <video
-                 controls="controls"
-                 width="${w}"
-                 height="${h}"
-                 poster="${poster}">
-            <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" />
-              </c:when>
-              <c:otherwise>00:00</c:otherwise>
-            </c:choose>
-          </li>
-        </ul>
-      </div>
+      <video
+             controls="controls"
+             width="${w}"
+             height="${h}"
+             poster="${poster}">
+        <mm:write referid="mediaurls" escape="none" />
+        <p>
+          You need a browser that understands the html5 video tag to play this 
media item.
+        </p>
+      </video>
     </c:otherwise>
   </c:choose>
 

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

Reply via email to