aboutsummaryrefslogtreecommitdiffstats
path: root/demo/dist/demo.js
diff options
context:
space:
mode:
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 6c045aed..aebe368c 100644
--- a/demo/dist/demo.js
+++ b/demo/dist/demo.js
@@ -3921,7 +3921,7 @@ singleton.Client = Client;
});
// Setup the player
- var player = Plyr.setup('#player', {
+ var player = new Plyr('#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;