aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-03-25 10:37:21 +1100
committerSam Potts <me@sampotts.me>2017-03-25 10:37:21 +1100
commit4a2866d05f767d49e3679ef995166edfb8f423a2 (patch)
treecd92b12a99b04638cbeade88cddea0efbe972ef4 /readme.md
parent1a05f352c71e52b98ff4c0753c35bb51a6bf10f0 (diff)
parentba27de066942b7654a0b7c58c43c9deba4161532 (diff)
downloadplyr-4a2866d05f767d49e3679ef995166edfb8f423a2.tar.lz
plyr-4a2866d05f767d49e3679ef995166edfb8f423a2.tar.xz
plyr-4a2866d05f767d49e3679ef995166edfb8f423a2.zip
Merge branch 'develop' of https://github.com/Selz/plyr into develop
# Conflicts: # dist/plyr.js
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index d2c50b10..d7cb0e43 100644
--- a/readme.md
+++ b/readme.md
@@ -672,7 +672,12 @@ player.source({
srclang:'en',
src: '/path/to/captions.vtt',
default: true
- }]
+ }],
+ loopKeyEvents: {
+ toggleLoop: 76,
+ loopin: 73,
+ loopout: 79
+ }
});
```
@@ -988,6 +993,21 @@ By default, a player will bind the following keyboard shortcuts when it has focu
<td>✔</td>
<td>Toggle captions</td>
</tr>
+ <tr>
+ <td><code>l</code></td>
+ <td></td>
+ <td>Toggle Loop All/No Loop</td>
+ </tr>
+ <tr>
+ <td><code>i</code></td>
+ <td></td>
+ <td>Set the start marker of the loop</td>
+ </tr>
+ <tr>
+ <td><code>o</code></td>
+ <td></td>
+ <td>Set the end marker of the loop</td>
+ </tr>
</tbody>
</table>