"Bootstrap Thumbnail Slider"
Bootstrap 3.3.0 Snippet by hemuhere

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="col-md-12"> <h1>Bootstrap Thumbnail Slider</h1> <div class="well"> <div id="myCarousel" class="carousel slide"> <!-- Carousel items --> <div class="carousel-inner"> <div class="item active"> <div class="row"> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> </div> <!--/row--> </div> <!--/item--> <div class="item"> <div class="row"> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> </div> <!--/row--> </div> <div class="item"> <div class="row"> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> <div class="col-sm-3"> <div class="thumbnail-video-profile"> <a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk"> <i class="fa fa-play-circle video-play"></i> <img src="https://img.youtube.com/vi/u6p6dubzHAc/0.jpg"/> </a> </div> </div> </div> <!--/row--> </div> </div> <!--/carousel-inner--> <a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> </div> <!--/myCarousel--> </div> <!--/well--> </div> </div>
.carousel-control { padding-top:10%; width:5%; } .thumbnail-video-profile { position: relative; width: 120px; height: 80px; padding: 10px; display: inline-block; }
$(document).ready(function() { $('#myCarousel').carousel({ interval: 10000 }) $('#myCarousel').on('slid.bs.carousel', function() { //alert("slid"); }); });

Related: See More


Questions / Comments: