aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/config/defaults.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-04-19 19:51:06 +1000
committerSam Potts <sam@potts.es>2020-04-19 19:51:06 +1000
commit9c7e429b48320f6b021baa2ed23e35a6bd9ceae5 (patch)
treee3eb0acf2ce3408bc404e2cc10cbe04a7545d21c /src/js/config/defaults.js
parent502d5977d79148957828cbf313b7ef4c9f31973f (diff)
downloadplyr-9c7e429b48320f6b021baa2ed23e35a6bd9ceae5.tar.lz
plyr-9c7e429b48320f6b021baa2ed23e35a6bd9ceae5.tar.xz
plyr-9c7e429b48320f6b021baa2ed23e35a6bd9ceae5.zip
Vimeo ratio fixes
Diffstat (limited to 'src/js/config/defaults.js')
-rw-r--r--src/js/config/defaults.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js
index bd4052be..087a5cb7 100644
--- a/src/js/config/defaults.js
+++ b/src/js/config/defaults.js
@@ -419,16 +419,16 @@ const defaults = {
title: false,
speed: true,
transparent: false,
- // These settings require a pro or premium account to work
- sidedock: false,
- controls: false,
+ // Whether the owner of the video has a Pro or Business account
+ // (which allows us to properly hide controls without CSS hacks, etc)
+ premium: false,
// Custom settings from Plyr
referrerPolicy: null, // https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy
},
// YouTube plugin
youtube: {
- noCookie: false, // Whether to use an alternative version of YouTube without cookies
+ noCookie: true, // Whether to use an alternative version of YouTube without cookies
rel: 0, // No related vids
showinfo: 0, // Hide info
iv_load_policy: 3, // Hide annotations