aboutsummaryrefslogtreecommitdiffstats
path: root/video-controller.js
diff options
context:
space:
mode:
authorKozo Nishida2012-06-29 21:54:34 +0900
committerKozo Nishida2012-06-29 21:54:34 +0900
commitb0942a6704b28c9f6516baf555ac50a24b87d655 (patch)
tree85d7979e0f6372661d8a854ee9e103fa6c4a9a83 /video-controller.js
parent7d07c1c85dcd219ce655f284af9db0e48cf1460f (diff)
downloadvimperator-plugins-b0942a6704b28c9f6516baf555ac50a24b87d655.tar.bz2
added fullscreen option
Diffstat (limited to 'video-controller.js')
-rw-r--r--video-controller.js3
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);
}