diff options
author | Sam Potts <me@sampotts.me> | 2016-10-23 15:18:53 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2016-10-23 15:18:53 +1100 |
commit | a3ed3093429d5306a89566215207d42a476392d8 (patch) | |
tree | c0faaff3ceff1cc22283dad50d17cb3568526c64 | |
parent | 08b4c09b896e1ad27c7a7f974e98831eec294019 (diff) | |
download | plyr-a3ed3093429d5306a89566215207d42a476392d8.tar.lz plyr-a3ed3093429d5306a89566215207d42a476392d8.tar.xz plyr-a3ed3093429d5306a89566215207d42a476392d8.zip |
v2.0.9
- Temporary patch for the YouTube API issues with `getDuration()` (relates to #374)
-rw-r--r-- | changelog.md | 3 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | readme.md | 6 | ||||
-rw-r--r-- | src/js/plyr.js | 4 |
4 files changed, 9 insertions, 6 deletions
diff --git a/changelog.md b/changelog.md index 73bb32d3..dbbf4d28 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## v2.0.9 +- Temporary patch for the YouTube API issues with `getDuration()` (relates to #374) + ## v2.0.8 - Added `isPaused()` API method (thanks to @darrena092) - Allowed `.on()` API method to be chainable (thanks to @gurupras) (fixes #357) diff --git a/package.json b/package.json index c98541d9..13e704c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plyr", - "version": "2.0.8", + "version": "2.0.9", "description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", "homepage": "http://plyr.io", "main": "src/js/plyr.js", @@ -122,7 +122,7 @@ Include the `plyr.js` script before the closing `</body>` tag and then call `ply If you want to use our CDN for the JavaScript, you can use the following: ```html -<script src="https://cdn.plyr.io/2.0.8/plyr.js"></script> +<script src="https://cdn.plyr.io/2.0.9/plyr.js"></script> ``` ### CSS @@ -135,11 +135,11 @@ Include the `plyr.css` stylsheet into your `<head>` If you want to use our CDN for the default CSS, you can use the following: ```html -<link rel="stylesheet" href="https://cdn.plyr.io/2.0.8/plyr.css"> +<link rel="stylesheet" href="https://cdn.plyr.io/2.0.9/plyr.css"> ``` ### SVG Sprite -The SVG sprite is loaded automatically from our CDN. To change this, see the [options](#Options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/2.0.8/plyr.svg`. +The SVG sprite is loaded automatically from our CDN. To change this, see the [options](#Options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/2.0.9/plyr.svg`. ## Advanced diff --git a/src/js/plyr.js b/src/js/plyr.js index c2e3a621..dd14f767 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v2.0.8 +// plyr.js v2.0.9 // https://github.com/selz/plyr // License: The MIT License (MIT) // ========================================================================== @@ -43,7 +43,7 @@ displayDuration: true, loadSprite: true, iconPrefix: 'plyr', - iconUrl: 'https://cdn.plyr.io/2.0.8/plyr.svg', + iconUrl: 'https://cdn.plyr.io/2.0.9/plyr.svg', clickToPlay: true, hideControls: true, showPosterOnEnd: false, |