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