diff options
Diffstat (limited to 'templates/video.tpl')
-rw-r--r-- | templates/video.tpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/video.tpl b/templates/video.tpl index 13b36cf..2e413db 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -84,7 +84,7 @@ {/foreach} {$breakdownload} <div class="librevideojs"> - <video id="player-ply" + <video id="player" poster="{$librethumb}" controls playsinline @@ -102,7 +102,7 @@ <!--Plyr--> <script> document.addEventListener('DOMContentLoaded', () => { - const player = new Plyr(document.getElementById('player-ply'), { + const player = new Plyr(document.getElementById('player'), { disableContextMenu: false, controls: [ 'play-large', @@ -117,8 +117,6 @@ 'fullscreen' ] }); - // debug - // window.player = player; }); </script> <!--EndPlyr--> |