From a509a5e1bc6a1ada4e56e326f01396292821bf27 Mon Sep 17 00:00:00 2001
From: Sam Potts
Date: Sun, 23 Oct 2016 13:48:05 +1100
Subject: v2.0.8
- Added `isPaused()` API method (thanks to @darrena092)
- Allowed `.on()` API method to be chainable (thanks to @gurupras) (fixes #357)
- Improved the "awful" rendering of captions on small screens in fullscreen mode (fixes #390)
- Fix for Firefox VTT compatibility (thanks to @magourex)
- Fix for Firefox Developer Edition blank video due to `-webkit-mask-image` issue (fixes #392)
- Added Issue and PR templates with the aim of reducing duplicate or duff issues
---
readme.md | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
(limited to 'readme.md')
diff --git a/readme.md b/readme.md
index bb2c0881..af9b1729 100644
--- a/readme.md
+++ b/readme.md
@@ -122,7 +122,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
@@ -135,11 +135,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/2.0.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/2.0.8/plyr.svg`.
## Advanced
@@ -492,7 +492,7 @@ Here's a list of the methods supported:
on()
String, Function
-
Watch for an event (first argument) and run a callback function (second argument). This saves you doing your own addEventListner code.
+
Watch for an event (first argument) and run a callback function (second argument). This saves you doing your own addEventListner code. This is chainable.
play()
@@ -559,6 +559,11 @@ Here's a list of the methods supported:
Boolean
Toggles playback for the player based on either the boolean argument or it's current state.
+
+
isPaused()
+
—
+
Will return a boolean for whether the media is currently paused.
+
toggleMute()
—
--
cgit v1.2.3
From a3ed3093429d5306a89566215207d42a476392d8 Mon Sep 17 00:00:00 2001
From: Sam Potts
Date: Sun, 23 Oct 2016 15:18:53 +1100
Subject: v2.0.9
- Temporary patch for the YouTube API issues with `getDuration()` (relates to #374)
---
readme.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'readme.md')
diff --git a/readme.md b/readme.md
index af9b1729..3f8d222c 100644
--- a/readme.md
+++ b/readme.md
@@ -122,7 +122,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
@@ -135,11 +135,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/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
--
cgit v1.2.3