Skip navigation
Currently Being Moderated

Custom Slideshow component

Mar 29, 2012 8:43 PM

Tags: #adobe #youtube #video_support

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>




                 <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>


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

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

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






More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points