diff --git a/CHANGELOG.md b/CHANGELOG.md index 23eceb470..d288633d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## v3.7.0 + +- Feat: Add markers support (🚨 Requires a SCSS/CSS update 🚨) (thanks @ForeverSc and @fengshuo!) +- Feat: Add support for MediaMetadata (thanks @Hashen110!) +- Fix: Pass this context to captions.setup (fixes #2352) (thanks @WilliamMHerring, @willherring and @zenyr!) +- Fix: Modify vimeo parseHash to use non-named capture groups (fixes #2396) (thanks @fekle!) +- Fix: Replace deprecated String.prototype.substr() (thanks @CommanderRoot!) +- Docs: Update speed option default to match the source (thanks @ozgurg!) +- Docs: SASS → Sass (thanks @toastal!) + ### v3.6.12 - Fix: remove division logic from ads.scss (fixes #2370) diff --git a/README.md b/README.md index 6c197843f..1aad8dd78 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.6.12/plyr.svg`. +reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.7.0/plyr.svg`. # Ads diff --git a/package.json b/package.json index f434e5035..23c891038 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plyr", - "version": "3.6.12", + "version": "3.7.0", "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 620c008c9..e301022e4 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.12/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.7.0/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 600eeba3a..55471441d 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v3.6.12 +// plyr.js v3.7.0 // 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 686d0693f..16d6a5219 100644 --- a/src/js/plyr.polyfilled.js +++ b/src/js/plyr.polyfilled.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr Polyfilled Build -// plyr.js v3.6.12 +// plyr.js v3.7.0 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ==========================================================================