diff options
Diffstat (limited to 'src/js/config/defaults.js')
-rw-r--r-- | src/js/config/defaults.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js index 7c6a708e..80ab190f 100644 --- a/src/js/config/defaults.js +++ b/src/js/config/defaults.js @@ -61,7 +61,7 @@ const defaults = { // Sprite (for icons) loadSprite: true, iconPrefix: 'plyr', - iconUrl: 'https://cdn.plyr.io/3.6.1/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.6.2/plyr.svg', // Blank video (used to prevent errors on source change) blankVideo: 'https://cdn.plyr.io/static/blank.mp4', @@ -422,20 +422,23 @@ const defaults = { title: false, speed: true, transparent: false, + // Custom settings from Plyr + customControls: false, + 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) premium: false, - // Custom settings from Plyr - referrerPolicy: null, // https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy }, // YouTube plugin youtube: { - 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 modestbranding: 1, // Hide logos as much as possible (they still show one in the corner when paused) + // Custom settings from Plyr + customControls: false, + noCookie: false, // Whether to use an alternative version of YouTube without cookies }, }; |