Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Fullscreen slider */
- var fSwiper = new Swiper('#fullscreen-slider',{
- loop: false,
- autoplayStopOnLast: true,
- onSwiperCreated: function() {
- // Slide has video
- if ($('#fullscreen-slider .swiper-slide-active').has('video').length) {
- $('#fullscreen-slider .swiper-slide-active video').get(0).play();
- }
- },
- [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement