YouTube plugin allows you to control video slides with declarative options.
<div class="cycle-slideshow"
data-cycle-fx=scrollHorz
data-cycle-timeout=0
data-cycle-prev=#prev
data-cycle-next=#next
data-cycle-auto-height="640:360"
data-cycle-slides=">a"
data-cycle-youtube=true
data-cycle-youtube-autostart=true
>
<a href="http://www.youtube.com/v/f7AU2Ozu8eo?version=3&hl=en_US&rel=0">Paul Irish</a>
<a href="http://www.youtube.com/v/seX7jYI96GE?version=3&hl=en_US&rel=0">Alex Russel</a>
</div>
data-cycle-fx=scrollHorz
data-cycle-timeout=0
data-cycle-prev=#prev
data-cycle-next=#next
data-cycle-auto-height="640:360"
data-cycle-slides=">a"
data-cycle-youtube=true
data-cycle-youtube-autostart=true
>
<a href="http://www.youtube.com/v/f7AU2Ozu8eo?version=3&hl=en_US&rel=0">Paul Irish</a>
<a href="http://www.youtube.com/v/seX7jYI96GE?version=3&hl=en_US&rel=0">Alex Russel</a>
</div>
More visit plugin : http://jquery.malsup.com/cycle2/demo/
No comments:
Post a Comment