aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/player
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/player')
-rw-r--r--template/assemblies/player/video.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml
index b6036a5..0955492 100644
--- a/template/assemblies/player/video.phtml
+++ b/template/assemblies/player/video.phtml
@@ -7,12 +7,14 @@
style="width: 100%; height: 100%;"
class="<?=h($miniroom ? 'nosubs' : 'subs')?>"
>
+ <? if(!$translated): ?>
<source
data-plugin-type="native"
src="<?=h(link_stream('webm', $room, $format, $translated))?>"
title="WebM (Icecast)"
type="video/webm"
/>
+ <? endif ?>
<source
data-plugin-type="flash"
src="<?=h(link_stream('rtmp', $room, $format, $translated))?>"