diff options
author | Sam Potts <sam@potts.es> | 2018-05-19 11:27:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-19 11:27:19 +1000 |
commit | 3bba65f2c22fe11bca7d89f8451fa1b0b5e8030e (patch) | |
tree | ab3de56cae1205b9964ecccb9dea57aa41a3695c /readme.md | |
parent | 1bab0d07b5b22230aab6e68105c8fc574add31e3 (diff) | |
parent | 37c5fbfe16ba0969b727b8359fdd04eb0bf7a021 (diff) | |
download | plyr-3bba65f2c22fe11bca7d89f8451fa1b0b5e8030e.tar.lz plyr-3bba65f2c22fe11bca7d89f8451fa1b0b5e8030e.tar.xz plyr-3bba65f2c22fe11bca7d89f8451fa1b0b5e8030e.zip |
Merge pull request #967 from friday/883
toggleControls rewrite
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ player.fullscreen.enter(); // Enter fullscreen | `fullscreen.exit()` | - | Exit fullscreen. | | `fullscreen.toggle()` | - | Toggle fullscreen. | | `airplay()` | - | Trigger the airplay dialog on supported devices. | -| `toggleControls(toggle)` | Boolean | Toggle the controls based on the specified boolean. | +| `toggleControls(toggle)` | Boolean | Toggle the controls (video only). Takes optional truthy value to force it on/off. | | `on(event, function)` | String, Function | Add an event listener for the specified event. | | `off(event, function)` | String, Function | Remove an event listener for the specified event. | | `supports(type)` | String | Check support for a mime type. | |