Skip to content

jorge-fco/api-vimeo-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 

Repository files navigation

API Vimeo js

var playVimeo = $('.js-play-vimeo');
var Player = new Vimeo.Player($selector, options);

// Button play for Vimeo
playVimeo.click(function(event) {
  event.preventDefault();
  Player.play();
});

Config options embed vimeo

// Config options embed vimeo
var options = {
	id: $idVimeo,
	muted: false,
	title: false,
	byline: false,
	portrait: false,
	playsinline: true,
	transparent: false
};

Event Play.

Player.on('play', function() {
  console.log('Played the video!');
});

Event Pause.

Player.on('pause', function() {
  console.log('Pause the video!');
});

πŸ“Œ View repository Javascript β€” GitHub

πŸ“Œ View documentation developer β€” Developer vimeo

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published