Guest User

Untitled

a guest
Oct 20th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfoutput>
  2.     <script type="text/javascript" src="#$.siteConfig('themeAssetPath')#/js/jquery.youtubeplaylist.js"></script>
  3.     <script type="text/ecmascript">
  4.        
  5.             $(function() {
  6.                 $("ul.videos").ytplaylist({addThumbs:true, autoPlay: false, holderId: 'ytvideo2', playerHeight: 200, playerWidth: 300,});
  7.             });
  8.        
  9.     </script>
  10.    
  11.     <div class="yt_holder">
  12.     <h2 class="youTubeTitle">#$.component('ytPlaylistTitle')#</h2>
  13.     <div id="ytvideo2"></div>
  14.         <ul class="videos">
  15.             <cfif '#$.component('ytVideo1Enable')#' eq 'Yes'>
  16.                 <li><a href="#$.component('ytVideo1Link')#"><img src="#$.component('').getImageURL(height=90,width=120)#" alt="#$.component('image1Alt')#" />#$.component('ytVideo1Title')#</a></li>
  17.             </cfif>
  18.             <cfif '#$.component('ytVideo2Enable')#' eq 'Yes'>
  19.                 <li><a href="#$.component('ytVideo2Link')#">#$.component('ytVideo2Title')#</a></li>
  20.             </cfif>
  21.             <cfif '#$.component('ytVideo3Enable')#' eq 'Yes'>
  22.                 <li><a href="#$.component('ytVideo3Link')#">#$.component('ytVideo3Title')#</a></li>
  23.             </cfif>
  24.         </ul>
  25.     </div>
  26. </cfoutput>
Add Comment
Please, Sign In to add comment