aboutsummaryrefslogtreecommitdiffstats
path: root/demo/dist/demo.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-08 13:12:39 +1000
committerSam Potts <sam@potts.es>2018-05-08 13:12:39 +1000
commitbbb11e611e3d07bdbf2b77c6f12b5e5967835f82 (patch)
tree0e9f5ab5eb061ec28d6ac51a0943c2f651f2f09a /demo/dist/demo.js
parent90919411e9e2384494f4796f2c72507685e959bb (diff)
downloadplyr-bbb11e611e3d07bdbf2b77c6f12b5e5967835f82.tar.lz
plyr-bbb11e611e3d07bdbf2b77c6f12b5e5967835f82.tar.xz
plyr-bbb11e611e3d07bdbf2b77c6f12b5e5967835f82.zip
Vimeo options, docs for multiple players
Diffstat (limited to 'demo/dist/demo.js')
-rw-r--r--demo/dist/demo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/dist/demo.js b/demo/dist/demo.js
index aebe368c..6c045aed 100644
--- a/demo/dist/demo.js
+++ b/demo/dist/demo.js
@@ -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;