aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJagua2015-04-22 00:31:41 +0900
committerJagua2015-04-22 00:31:41 +0900
commitae6bdd7987b08cc821b34832b27d05a107f53c3c (patch)
tree224de605816c8593dd89dc5569c15af89b334dad
parentdb6cb4a5dd6b8c87e2aa5bdbc17aa71e76350029 (diff)
downloadvimperator-plugins-ae6bdd7987b08cc821b34832b27d05a107f53c3c.tar.bz2
add playbackRate command.
-rw-r--r--video-controller.js3
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;
}
};