0 Replies Latest reply: Mar 29, 2012 8:43 PM by DLE83 RSS

    Custom Slideshow component

    DLE83

      i am putting together a slideshow component to play videos but the video stream will not load. Does anyone know if youtube streams are supported or if my code is just off. i included a small snippet of some code from the component jsp file, when i check the page i see the video box just not loading video.

      Thansk in advance

       

      <%@include file="javascript.jsp" %>

       

      <div class="container">

          <div id="slides">

          <div class="slides_container ${properties.dimension}">

                      <div class="slide">

                         <iframe src="${properties.videolink1}"></iframe>

                     

                

                      </div>

                       <c:if test="${! empty properties.image2}">

                          <div class="slide" title="${properties.imagealttext2}">

                          <div class="cs-image">

                          <c:set var="imagelink2" value="${fn:startsWith(properties.imagelink2, 'http') == true ? properties.imagelink2 : tnc:concat2(properties.imagelink2,'.html')}" />

                          <a href="${imagelink2}" target="${properties.linkwindow2}">

                          <img src="${properties.image2}" alt="${properties.imagealttext2}" />

                          <c:if test="${pageProperties.videofile2 eq 'true'}">

                            <iframe src="${properties.video2}" width="" height=""></iframe>

                          </c:if>

                          <div class="cs-title"><span style="color:#${properties.heading2Color};background:rgba(${properties.heading2bgColor}); ">${properties.heading2}</span></div>

                          <div class="cs-subtitle"><span style="color:#${properties.subhead2Color};background:rgba(${properties.subhead2bgColor}); ">${properties.subhead2}</span></div>

                          <div class="cs-text"><span style="color:#${properties.linktext2Color};background:rgba(${properties.linktext2bgColor} );">${properties.linktext2}</span></div>

                          </a>

                          </div>

                          </div>    

                        </c:if>