From c90f044dac63b48db1ecf4a5ba6655cf73d50177 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Wed, 20 Apr 2022 20:15:42 +1000 Subject: [PATCH] v3.7.2 - Fix: Add `@babel/plugin-proposal-optional-chaining` to transform optional chaining in build output --- CHANGELOG.md | 6 +++++- README.md | 8 ++++---- package.json | 2 +- src/js/config/defaults.js | 2 +- src/js/plyr.js | 2 +- src/js/plyr.polyfilled.js | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe66c5b3..209abab2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ +### v3.7.2 + +- Fix: Add `@babel/plugin-proposal-optional-chaining` to transform optional chaining in build output + ### v3.7.1 - Feat: Minor styling improvements to the preview thumbnails (🚨 Requires a SCSS/CSS update 🚨) -- Fix: fix invalid CSS @charset rule in Sass files (thanks @Hashen110!) +- Fix: Fix invalid CSS @charset rule in Sass files (thanks @Hashen110!) - Chore: Replace deprecated KeyboardEvent `keyCode` references to use `key` instead (thanks @Hashen110!) - Various other code clean up and typo fixes (thanks @Hashen110!) diff --git a/README.md b/README.md index 9996f19f0..8d00a963f 100644 --- a/README.md +++ b/README.md @@ -137,13 +137,13 @@ See [initialising](#initialising) for more information on advanced setups. You can use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript. There's 2 versions; one with and one without [polyfills](#polyfills). My recommendation would be to manage polyfills separately as part of your application but to make life easier you can use the polyfilled build. ```html - + ``` ...or... ```html - + ``` ## CSS @@ -157,13 +157,13 @@ Include the `plyr.css` stylesheet into your ``. If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following: ```html - + ``` ## SVG Sprite The SVG sprite is loaded automatically from our CDN (provided by [Fastly](https://www.fastly.com/)). To change this, see the [options](#options) below. For -reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.7.1/plyr.svg`. +reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.7.2/plyr.svg`. # Ads diff --git a/package.json b/package.json index a9b1e9912..caffe56d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plyr", - "version": "3.7.1", + "version": "3.7.2", "description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", "homepage": "https://plyr.io", "author": "Sam Potts ", diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js index 70c1217ef..7e26b739a 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.7.1/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.7.2/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 6e1238ae3..ae6747cab 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v3.7.1 +// plyr.js v3.7.2 // 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 9fabf4c45..2a713eddc 100644 --- a/src/js/plyr.polyfilled.js +++ b/src/js/plyr.polyfilled.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr Polyfilled Build -// plyr.js v3.7.1 +// plyr.js v3.7.2 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ==========================================================================