diff options
| author | Jagua | 2015-04-22 00:31:41 +0900 |
|---|---|---|
| committer | Jagua | 2015-04-22 00:31:41 +0900 |
| commit | ae6bdd7987b08cc821b34832b27d05a107f53c3c (patch) | |
| tree | 224de605816c8593dd89dc5569c15af89b334dad | |
| parent | db6cb4a5dd6b8c87e2aa5bdbc17aa71e76350029 (diff) | |
| download | vimperator-plugins-ae6bdd7987b08cc821b34832b27d05a107f53c3c.tar.bz2 | |
add playbackRate command.
| -rw-r--r-- | video-controller.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video-controller.js b/video-controller.js index fc4aa62..2a104f4 100644 --- a/video-controller.js +++ b/video-controller.js @@ -101,6 +101,9 @@ let INFO = xml` }, seek: function (elem, value) { elem.currentTime = timeCodeToSec(value); + }, + playbackRate: function (elem, value) { + elem.playbackRate = value; } }; |
