javascript - Cycle2 Slideshow youtube -
i have question regards youtube cycle2 plugin.
here how code setup:
data-cycle2-slides ='>a' data-cycle2-easing ='".$easing."' data-cycle2-fx ='".$effect."' data-cycle2-timeout ='".$timeout."' data-cycle2-pause-on-hover ='".$pause."' data-cycle2-speed ='".$speed."' data-cycle2-youtube ='true' data-cycle2-youtube-autostart ='true' data-cycle2-youtube-autostop ='true' then how i'm calling videos:
<div class="slideshow cycle2-slideshow"> <a href="http://www.youtube.com/v/boi9_jiee-y?hl=en_us&version=3&rel=0" >1</a> <a href="http://www.youtube.com/v/srkloobqt0w?version=3&hl=en_us&rel=0" >2</a> <a href="http://www.youtube.com/v/nldxk21zayw?hl=en_us&version=3&rel=0" >3</a> <a href="http://www.youtube.com/v/kpovbprykts?hl=en_us&version=3&rel=0" >4</a> </div> i based on documentation http://jquery.malsup.com/cycle2/demo/video.php. problem i'm having videos not showing. there reason why?
thank you.
couple of things;
cycle2-slideshow should cycle-slideshow (remove "2")
eg. <div class="slideshow cycle-slideshow">
the data attributes should start data-cycle-xxxx instead of data-cycle2-xxxx (remove "2")
eg. data-cycle-slides = '>a'
Comments
Post a Comment