aboutsummaryrefslogtreecommitdiffstats
path: root/libretube-theme/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'libretube-theme/static/js')
-rw-r--r--libretube-theme/static/js/play.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/libretube-theme/static/js/play.js b/libretube-theme/static/js/play.js
index b94d3e0..a787c72 100644
--- a/libretube-theme/static/js/play.js
+++ b/libretube-theme/static/js/play.js
@@ -1,3 +1,14 @@
document.addEventListener('DOMContentLoaded', () => {
- const player = new Plyr(document.getElementById('player-ply'));
+ const player = new Plyr(document.getElementById('player-ply'), {
+ controls: [
+ 'play',
+ 'progress',
+ 'current-time',
+ 'mute',
+ 'volume',
+ 'captions',
+ 'settings',
+ 'download'
+ ]
+ });
});