aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2014-10-19 20:51:22 +0200
committerMaZderMind2014-10-19 20:51:22 +0200
commitaaa3a9095ff940543065ef8e9534e48480c4568a (patch)
treee8a3c97e04e3c381cc58c88e7b804e474a213272
parent4386cd59147fc5745b9f113506b6702ecc17bc38 (diff)
fix webm-links
-rw-r--r--template/assemblies/player/video.phtml2
-rw-r--r--template/assemblies/switcher/video.phtml4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml
index 8d45488..14ecc7d 100644
--- a/template/assemblies/player/video.phtml
+++ b/template/assemblies/player/video.phtml
@@ -9,7 +9,7 @@
<? if($format == 'hq'): ?>
<source
data-plugin-type="native"
- src="<?=h(link_stream('icecast', $room, $format, $translated))?>"
+ src="<?=h(link_stream('icecast', $room, 'webm', $translated))?>"
title="WebM (Icecast)"
type="video/webm"
/>
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml
index 1ecf0f6..e4551bb 100644
--- a/template/assemblies/switcher/video.phtml
+++ b/template/assemblies/switcher/video.phtml
@@ -40,11 +40,11 @@
<ul>
<li>
<span class="label filetype">HQ</span>
- <a href="<?=h(link_stream('icecast', $room, 'hq'))?>">
+ <a href="<?=h(link_stream('icecast', $room, 'webm'))?>">
<span class="fa fa-flag-o"></span>
native
</a>
- <a href="<?=h(link_stream('icecast', $room, 'hq', true))?>">
+ <a href="<?=h(link_stream('icecast', $room, 'webm', true))?>">
<span class="fa fa-flag"></span>
translated
</a>