Vimeo options, docs for multiple players

This commit is contained in:
Sam Potts
2018-05-08 13:12:39 +10:00
parent 90919411e9
commit bbb11e611e
14 changed files with 40 additions and 19 deletions

4
demo/dist/demo.js vendored
View File

@ -3921,7 +3921,7 @@ singleton.Client = Client;
});
// Setup the player
var player = new Plyr('#player', {
var player = Plyr.setup('#player', {
debug: true,
title: 'View From A Blue Moon',
iconUrl: '../dist/plyr.svg',
@ -3991,7 +3991,7 @@ singleton.Client = Client;
enabled: true,
publisherId: '918848828995742'
}
});
})[0];
// Expose for tinkering in the console
window.player = player;