aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-05-22 14:53:12 -0500
committerJesús <heckyel@hyperbola.info>2019-05-22 14:53:12 -0500
commitf2665d61cad90de7f8c809bc1aee123675fc962f (patch)
treec8266e90b8399acccd81a68014ee7d00283d87f0
parent998ccafa9392845a82fad14908a2469928f6dba7 (diff)
downloadytlibre-f2665d61cad90de7f8c809bc1aee123675fc962f.tar.lz
ytlibre-f2665d61cad90de7f8c809bc1aee123675fc962f.tar.xz
ytlibre-f2665d61cad90de7f8c809bc1aee123675fc962f.zip
Added title into video tag
-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}'/>