Slick Slider with Vimeo API - froogaloop

Developer
Size
3,822 Kb
Views
76,912

How do I make an slick slider with vimeo api - froogaloop?

What is a slick slider with vimeo api - froogaloop? How do you make a slick slider with vimeo api - froogaloop? This script and codes were developed by B. on 21 December 2022, Wednesday.

Slick Slider with Vimeo API - froogaloop Previews

Slick Slider with Vimeo API - froogaloop - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Slick Slider with Vimeo API - froogaloop</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='css/https___s3_us_west_2_amaz.css'>
<link rel='stylesheet prefetch' href='css/https___s3_us_west_2_amaz.css'>
<link rel='stylesheet prefetch' href='http://cdn.jsdelivr.net/jquery.slick/1.5.9/slick.css'>
<link rel='stylesheet prefetch' href='https://cdn.plyr.io/1.8.7/plyr.css'> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="slider slider--video"> <div class="slide"> <div class="js-player" data-type="vimeo" data-video-id="39683393"></div> </div> <div class="slide"> <div class="js-player" data-type="vimeo" data-video-id="27243869"></div> </div> <div class="slide"> <div class="js-player" data-type="vimeo" data-video-id="27246366"></div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdn.jsdelivr.net/jquery.slick/1.5.9/slick.min.js'></script>
<script src='https://cdn.rawgit.com/proofme/player-api/master/javascript/froogaloop.js'></script>
<script src='https://cdn.plyr.io/1.8.7/plyr.js'></script>
<script src='https://cdn.rangetouch.com/0.0.9/rangetouch.js'></script> <script src="js/index.js"></script>
</body>
</html>

Slick Slider with Vimeo API - froogaloop - Script Codes JS Codes

jQuery(window).load(function() { plyr.setup(); window.rangetouch.set("thumbWidth", 15);	var vimeoPlayers = jQuery('.slider--video').find('iframe'), player;	for (var i = 0, length = vimeoPlayers.length; i < length; i++) {	player = vimeoPlayers[i];	$f(player).addEvent('ready', ready);	}	function addEvent(element, eventName, callback) {	if (element.addEventListener) {	element.addEventListener(eventName, callback, false)	} else {	element.attachEvent(eventName, callback, false);	}	}	function ready(player_id) {	var froogaloop = $f(player_id);	froogaloop.addEvent('play', function(data) { jQuery('.slider--video').slick('slickPause');	});	froogaloop.addEvent('pause', function(data) { jQuery('.slider--video').slick('slickPlay');	});	} jQuery('.slider--video').slick({ infinite: true, slidesToShow: 1, slidesToScroll: 1 }); // On before slide change jQuery('.slider--video').on('beforeChange', function(event, slick, currentSlide, nextSlide){ if ($(this).find('.slide').eq(currentSlide).find('iframe').length !== 0) $f( $(this).find('.slide').eq(currentSlide).find('iframe').attr('id') ).api('pause'); });
});
Slick Slider with Vimeo API - froogaloop - Script Codes
Slick Slider with Vimeo API - froogaloop - Script Codes
Home Page Home
Developer B.
Username wearebold
Uploaded December 21, 2022
Rating 3
Size 3,822 Kb
Views 76,912
Do you need developer help for Slick Slider with Vimeo API - froogaloop?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

B. (wearebold) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!