Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfoutput>
- <script type="text/javascript" src="#$.siteConfig('themeAssetPath')#/js/jquery.youtubeplaylist.js"></script>
- <script type="text/ecmascript">
- $(function() {
- $("ul.videos").ytplaylist({addThumbs:true, autoPlay: false, holderId: 'ytvideo2', playerHeight: 200, playerWidth: 300,});
- });
- </script>
- <div class="yt_holder">
- <h2 class="youTubeTitle">#$.component('ytPlaylistTitle')#</h2>
- <div id="ytvideo2"></div>
- <ul class="videos">
- <cfif '#$.component('ytVideo1Enable')#' eq 'Yes'>
- <li><a href="#$.component('ytVideo1Link')#"><img src="#$.component('').getImageURL(height=90,width=120)#" alt="#$.component('image1Alt')#" />#$.component('ytVideo1Title')#</a></li>
- </cfif>
- <cfif '#$.component('ytVideo2Enable')#' eq 'Yes'>
- <li><a href="#$.component('ytVideo2Link')#">#$.component('ytVideo2Title')#</a></li>
- </cfif>
- <cfif '#$.component('ytVideo3Enable')#' eq 'Yes'>
- <li><a href="#$.component('ytVideo3Link')#">#$.component('ytVideo3Title')#</a></li>
- </cfif>
- </ul>
- </div>
- </cfoutput>
Add Comment
Please, Sign In to add comment