aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/video.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-04-06 00:28:17 +0200
committerMaZderMind2015-04-06 00:28:17 +0200
commitd8eca933a6713d0deaabe6883e5cf4939120eec0 (patch)
tree93dc04c765a3bd6f36c4f3673665402910d57946 /template/assemblies/switcher/video.phtml
parent8f14dd9084b10c223508bc9948c5724fc2c9eb63 (diff)
Repair Switchers to not shadow $stream in the following Templates
Diffstat (limited to '')
-rw-r--r--template/assemblies/switcher/video.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml
index 3214212..2d31532 100644
--- a/template/assemblies/switcher/video.phtml
+++ b/template/assemblies/switcher/video.phtml
@@ -43,9 +43,9 @@
<div class="row">
<? foreach($room->getVideoResolutions() as $res): ?>
<? $selection = $room->createSelectionObject($res) ?>
- <? $stream = $room->createStreamObject($res) ?>
+ <? $switcherstream = $room->createStreamObject($res) ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
- <div class="btn-group" role="group" title="<?=h($stream->getVideoTech($proto))?>">
+ <div class="btn-group" role="group" title="<?=h($switcherstream->getVideoTech($proto))?>">
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
<? if($room->hasTranslation()): ?>
@@ -60,7 +60,7 @@
<? else: ?>
- <a href="<?=h($stream->getVideoUrl($proto))?>" class="btn btn-default">
+ <a href="<?=h($switcherstream->getVideoUrl($proto))?>" class="btn btn-default">
<span class="fa fa-video-camera"></span>
video
</a>