diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
commit | f35a7b0e70032de2feec9f3bda09da44cf0e1073 (patch) | |
tree | 1e0e09581dd3707d0ceb93346452dd14451a8423 /libretube-theme/static/js/play.js |
first commit
Diffstat (limited to 'libretube-theme/static/js/play.js')
-rw-r--r-- | libretube-theme/static/js/play.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libretube-theme/static/js/play.js b/libretube-theme/static/js/play.js new file mode 100644 index 0000000..6655e8a --- /dev/null +++ b/libretube-theme/static/js/play.js @@ -0,0 +1,21 @@ +// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later +const player = new Plyr('#player-ply', { + captions: { active: true, language: 'es' }, + controls: [ + 'play-large', + 'play', + 'progress', + 'current-time', + 'duration', + 'mute', + 'volume', + 'captions', + 'settings', + 'download', + 'fullscreen' + ], + iconUrl: "/theme/modules/plyr/plyr.svg", + blankVideo: "/theme/modules/plyr/blank.webm", + debug: false, +}); +// @license-end |