aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2016-09-06 20:46:00 +1000
committerGitHub <noreply@github.com>2016-09-06 20:46:00 +1000
commit28335ef3d8c8aaef959989bacd7d8af026898a53 (patch)
treea40b6d590094b8f09201bc27976207a57a8b71ad /readme.md
parent435b5c74bf14b701e97a36a09ac99519135e724e (diff)
parent78ec5b3322e082b609b5f038350d84d7027b2e92 (diff)
downloadplyr-28335ef3d8c8aaef959989bacd7d8af026898a53.tar.lz
plyr-28335ef3d8c8aaef959989bacd7d8af026898a53.tar.xz
plyr-28335ef3d8c8aaef959989bacd7d8af026898a53.zip
Merge pull request #356 from amowu/feature/add-playback-speed
Add playback speed
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index bb2c0881..b24e339f 100644
--- a/readme.md
+++ b/readme.md
@@ -244,7 +244,7 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke
<tr>
<td><code>controls</code></td>
<td>Array</td>
- <td><code>['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'captions', 'fullscreen']</code></td>
+ <td><code>['play-large', 'play', 'speed-up', 'progress', 'current-time', 'mute', 'volume', 'captions', 'fullscreen']</code></td>
<td>Toggle which control elements you would like to display when using the default controls html. If you specify a <code>html</code> option, this is redundant. The default value is to display everything.</td>
</tr>
<tr>
@@ -383,6 +383,12 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke
<td>&mdash;</td>
<td>Two properties; <code>enabled</code> which toggles if local storage should be enabled (if the browser supports it). The default value is `true`. This enables storing user settings, currently it only stores volume but more will be added later. The second property <code>key</code> is the key used for the local storage. The default is <code>plyr_volume</code> until more settings are stored.</td>
</tr>
+ <tr>
+ <td><code>speeds</code></td>
+ <td>Array</td>
+ <td>[1.0, 1.5, 2.0, 0.5]</td>
+ <td>Playback speed list.</td>
+ </tr>
</tbody>
</table>