diff --git a/changelog.md b/changelog.md index 345a1526..7d0abceb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## v1.8.8 +- Added getCurrentTime API method (fixes #292) +- Fix for !hideControls on touch devices (fixes #303) + ## v1.8.7 - Line height fix diff --git a/package.json b/package.json index 3bf6cd00..6a8bb727 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plyr", - "version": "1.8.7", + "version": "1.8.8", "description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", "homepage": "http://plyr.io", "main": "src/js/plyr.js", diff --git a/readme.md b/readme.md index 865a7982..fe13b8e0 100644 --- a/readme.md +++ b/readme.md @@ -118,7 +118,7 @@ Include the `plyr.js` script before the closing `` tag and then call `ply If you want to use our CDN for the JavaScript, you can use the following: ```html - + ``` ### CSS @@ -131,11 +131,11 @@ Include the `plyr.css` stylsheet into your `` If you want to use our CDN for the default CSS, you can use the following: ```html - + ``` ### 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/1.8.7/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/1.8.8/plyr.svg`. ## Advanced diff --git a/src/js/plyr.js b/src/js/plyr.js index 1834e1c0..9321b12f 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v1.8.7 +// plyr.js v1.8.8 // https://github.com/selz/plyr // License: The MIT License (MIT) // ========================================================================== @@ -44,7 +44,7 @@ displayDuration: true, loadSprite: true, iconPrefix: 'plyr', - iconUrl: 'https://cdn.plyr.io/1.8.7/plyr.svg', + iconUrl: 'https://cdn.plyr.io/1.8.8/plyr.svg', clickToPlay: true, hideControls: true, showPosterOnEnd: false,