aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam <me@sampotts.me>2016-10-23 21:16:49 +1100
committerSam <me@sampotts.me>2016-10-23 21:16:49 +1100
commit2aa9b267ab110454a1d8c2a210e89cd8a6a1f384 (patch)
treeca9a2fb884b11f9593869d88f7cab4b12f3fe483 /readme.md
parent90338d96000dcebd89fcb7f10d09afe0522cd1c0 (diff)
parent5cecf16d4f9edecdbf656e2618b8748ebff677d8 (diff)
downloadplyr-2aa9b267ab110454a1d8c2a210e89cd8a6a1f384.tar.lz
plyr-2aa9b267ab110454a1d8c2a210e89cd8a6a1f384.tar.xz
plyr-2aa9b267ab110454a1d8c2a210e89cd8a6a1f384.zip
Merge branch 'develop' of https://github.com/Selz/plyr into develop
# Conflicts: # src/js/plyr.js
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 49bd59f4..f62924d2 100644
--- a/readme.md
+++ b/readme.md
@@ -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.7/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.7/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.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.9/plyr.svg`.
## Advanced
@@ -498,7 +498,7 @@ Here's a list of the methods supported:
<tr>
<td><code>on()</code></td>
<td>String, Function</td>
- <td>Watch for an event (first argument) and run a callback function (second argument). This saves you doing your own <code>addEventListner</code> code.</td>
+ <td>Watch for an event (first argument) and run a callback function (second argument). This saves you doing your own <code>addEventListner</code> code. This is chainable.</td>
</tr>
<tr>
<td><code>play()</code></td>
@@ -566,6 +566,11 @@ Here's a list of the methods supported:
<td>Toggles playback for the player based on either the boolean argument or it's current state.</td>
</tr>
<tr>
+ <td><code>isPaused()</code></td>
+ <td>&mdash;</td>
+ <td>Will return a boolean for whether the media is currently paused.</td>
+ </tr>
+ <tr>
<td><code>toggleMute()</code></td>
<td>&mdash;</td>
<td>Toggles mute for the player.</td>