diff options
author | Jesús <heckyel@hyperbola.info> | 2019-04-09 18:57:09 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-04-09 18:57:09 -0500 |
commit | 50ea2c34920dfad25cd62715a419aa9f857900a0 (patch) | |
tree | 10e59731008feb3dbc65d497b5ba3f76bb13946e /libretube-theme/static | |
parent | 765d3173de9de48c8ffe2d2067a5ef744817b3ea (diff) | |
download | libretube-50ea2c34920dfad25cd62715a419aa9f857900a0.tar.lz libretube-50ea2c34920dfad25cd62715a419aa9f857900a0.tar.xz libretube-50ea2c34920dfad25cd62715a419aa9f857900a0.zip |
added button download
Diffstat (limited to 'libretube-theme/static')
-rw-r--r-- | libretube-theme/static/js/play.js | 13 |
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' + ] + }); }); |