diff options
Diffstat (limited to 'demo/src/js')
-rw-r--r-- | demo/src/js/main.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demo/src/js/main.js b/demo/src/js/main.js index 719672bd..093d35d3 100644 --- a/demo/src/js/main.js +++ b/demo/src/js/main.js @@ -6,7 +6,6 @@ /*global plyr*/ - // General functions ;(function() { // Setup the player @@ -24,7 +23,7 @@ plyr.loadSprite('dist/demo.svg'); // Plyr returns an array regardless - var player = instances[0]; + var player = instances[0].plyr; // Setup type toggle var buttons = document.querySelectorAll('[data-source]'), |