aboutsummaryrefslogtreecommitdiffstats
path: root/templates/embed.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/embed.tpl')
-rw-r--r--templates/embed.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/embed.tpl b/templates/embed.tpl
index 53939d6..6934726 100644
--- a/templates/embed.tpl
+++ b/templates/embed.tpl
@@ -36,9 +36,9 @@
</head>
<body>
<video class="player-ply" controls poster="{$librethumb}" data-setup="{}">
- {foreach $videosStream as $stream}
- {$stream = json_decode(json_encode($stream))}
- <source data-res="{$stream->quality}" src="{$stream->url}" type="{$stream->libretype}"/>
+ {$breaklink}
+ {foreach $streamFormats as $stream}
+ <source data-res="{trim($stream->resolution, 'p')}" src="{$stream->url}" type='{$stream->type}'/>
{/foreach}
<p>Lo siento, este navegador no soporta vídeo en HTML5. Por favor, cambia o actualiza tu navegador web</p>
</video>