aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/js')
-rw-r--r--demo/src/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/src/js/main.js b/demo/src/js/main.js
index bdd7febe..3337df88 100644
--- a/demo/src/js/main.js
+++ b/demo/src/js/main.js
@@ -8,7 +8,7 @@
// General functions
;(function() {
- document.body.addEventListener('ready', function(event) { console.log(event); });
+ //document.body.addEventListener('ready', function(event) { console.log(event); });
// Setup the player
var instances = plyr.setup({
@@ -25,7 +25,7 @@
plyr.loadSprite('dist/demo.svg');
// Plyr returns an array regardless
- var player = instances[0].plyr;
+ var player = instances[0];
// Setup type toggle
var buttons = document.querySelectorAll('[data-source]'),