diff options
author | Jesús <heckyel@hyperbola.info> | 2020-11-26 20:37:46 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-11-26 20:37:46 -0500 |
commit | 8103275cffa5aeb2a38a46b6121545f622178c41 (patch) | |
tree | ac878e10129cd7623f881778597b07cf9afa11ae /templates | |
parent | c6cd7be07f72e3f437e61727962fa38229206a26 (diff) | |
download | ytlibre-8103275cffa5aeb2a38a46b6121545f622178c41.tar.lz ytlibre-8103275cffa5aeb2a38a46b6121545f622178c41.tar.xz ytlibre-8103275cffa5aeb2a38a46b6121545f622178c41.zip |
Fix when live video
Diffstat (limited to 'templates')
-rw-r--r-- | templates/video.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/video.tpl b/templates/video.tpl index 3d1cf49..dc818b8 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -108,14 +108,15 @@ oncontextmenu='{$videoTitle}' onmouseenter='{$videoTitle}' title='{$videoTitle}'> - {if $breaklink === TRUE} + {if $islive === True} + <p> Livestream videos are not yet supported. </p> + {elseif $breaklink === TRUE} <source data-res="{$breakquality}" src="{$breakurl}" type='{$formatdrm}'/> {else} {foreach $streamFormats as $stream} <source data-res="{trim($stream->resolution, 'p')}" src="{$stream->url}" type='{$stream->type}'/> {/foreach} {/if} - <p>Lo siento, este navegador no soporta vídeo en HTML5. Por favor, cambia o actualiza tu navegador web</p> </video> </div> <!--Plyr--> |