aboutsummaryrefslogtreecommitdiffstats
path: root/video-controller.js
diff options
context:
space:
mode:
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);
}