diff options
author | Kozo Nishida | 2012-06-29 21:54:34 +0900 |
---|---|---|
committer | Kozo Nishida | 2012-06-29 21:54:34 +0900 |
commit | b0942a6704b28c9f6516baf555ac50a24b87d655 (patch) | |
tree | 85d7979e0f6372661d8a854ee9e103fa6c4a9a83 /video-controller.js | |
parent | 7d07c1c85dcd219ce655f284af9db0e48cf1460f (diff) | |
download | vimperator-plugins-b0942a6704b28c9f6516baf555ac50a24b87d655.tar.bz2 |
added fullscreen option
Diffstat (limited to 'video-controller.js')
-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 8fa22c1..0368afd 100644 --- a/video-controller.js +++ b/video-controller.js @@ -97,6 +97,9 @@ let INFO = value = parseFloat(value); elem.volume = Math.min(value > 1 ? value / 100 : value, 100); }, + fullscreen: function (elem) { + elem.mozRequestFullScreen(); + }, seek: function (elem, value) { elem.currentTime = timeCodeToSec(value); } |