diff options
author | Sam Potts <sam@potts.es> | 2021-04-18 17:49:23 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2021-04-18 17:49:23 +1000 |
commit | e1ff86820c3b07da35a5192a007b13603fb44f38 (patch) | |
tree | 85075817b7622bcb18e4459ba42b7a7c8905d5cb /src | |
parent | 7d22c361d1895dc72e67e3061b8382137d489c25 (diff) | |
download | plyr-e1ff86820c3b07da35a5192a007b13603fb44f38.tar.lz plyr-e1ff86820c3b07da35a5192a007b13603fb44f38.tar.xz plyr-e1ff86820c3b07da35a5192a007b13603fb44f38.zip |
v3.6.6
- Improvements to how aspect ratio is handled. Use `aspect-ratio` CSS property instead of the legacy method (still used as fallback). Also automatically determined aspect ratios are rounded to the nearast standard ratio. This fixes issues with the YouTube embeds showing a 1-2px black bar.
- Hide the YouTube poster image container when paused so that the controls underneath can be used.
Diffstat (limited to 'src')
-rw-r--r-- | src/js/config/defaults.js | 2 | ||||
-rw-r--r-- | src/js/plyr.js | 2 | ||||
-rw-r--r-- | src/js/plyr.polyfilled.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js index 1b4cdd12..c268f0dd 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.5/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.6.6/plyr.svg', // Blank video (used to prevent errors on source change) blankVideo: 'https://cdn.plyr.io/static/blank.mp4', diff --git a/src/js/plyr.js b/src/js/plyr.js index 59381e11..69923936 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v3.6.5 +// plyr.js v3.6.6 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ========================================================================== diff --git a/src/js/plyr.polyfilled.js b/src/js/plyr.polyfilled.js index 018cf5db..336d2e49 100644 --- a/src/js/plyr.polyfilled.js +++ b/src/js/plyr.polyfilled.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr Polyfilled Build -// plyr.js v3.6.5 +// plyr.js v3.6.6 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ========================================================================== |