aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/video.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/video.tpl b/templates/video.tpl
index 94b7cde..7584041 100644
--- a/templates/video.tpl
+++ b/templates/video.tpl
@@ -84,7 +84,11 @@
{/foreach}
{$breakdownload}
<div class="librevideojs">
- <video class="player-ply" controls poster="{$librethumb}" data-setup="{}">
+ <video class="player-ply" poster="{$librethumb}" controls playsinline
+ onmouseleave="{$videoTitle}"
+ oncontextmenu="{$videoTitle}"
+ onmouseenter="{$videoTitle}"
+ title="{$videoTitle}">
{$breaklink}
{foreach $streamFormats as $stream}
<source data-res="{trim($stream->resolution, 'p')}" src="{$stream->url}" type='{$stream->type}'/>