aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demo/src/js/demo.js4
-rw-r--r--src/js/config/defaults.js4
2 files changed, 2 insertions, 6 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js
index 94ad1de7..1101fd97 100644
--- a/demo/src/js/demo.js
+++ b/demo/src/js/demo.js
@@ -62,13 +62,9 @@ import toggleClass from './toggle-class';
src: ['https://cdn.plyr.io/static/demo/thumbs/100p.vtt', 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt'],
},
vimeo: {
- customControls: true,
// Prevent Vimeo blocking plyr.io demo site
referrerPolicy: 'no-referrer',
},
- youtube: {
- customControls: true,
- },
});
// Expose for tinkering in the console
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js
index 8938ede9..a199d316 100644
--- a/src/js/config/defaults.js
+++ b/src/js/config/defaults.js
@@ -423,7 +423,7 @@ const defaults = {
speed: true,
transparent: false,
// Custom settings from Plyr
- customControls: false,
+ customControls: true,
referrerPolicy: null, // https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy
// Whether the owner of the video has a Pro or Business account
// (which allows us to properly hide controls without CSS hacks, etc)
@@ -437,7 +437,7 @@ const defaults = {
iv_load_policy: 3, // Hide annotations
modestbranding: 1, // Hide logos as much as possible (they still show one in the corner when paused)
// Custom settings from Plyr
- customControls: false,
+ customControls: true,
noCookie: false, // Whether to use an alternative version of YouTube without cookies
},
};