diff options
author | Anton Schubert | 2020-05-02 22:34:48 +0200 |
---|---|---|
committer | Anton Schubert | 2020-05-02 22:34:48 +0200 |
commit | 6ca102c77d0d2e3e5da962dbf69596af866d039f (patch) | |
tree | 21b39a6eb6db9197c835b96e8f703f76a27f2f01 /template/assemblies/switcher/video.phtml | |
parent | aec18c42ef72bf93dc4e931dbca4ade19db5d9fb (diff) |
remove legacy video tab
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/video.phtml | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml deleted file mode 100644 index ae2815f..0000000 --- a/template/assemblies/switcher/video.phtml +++ /dev/null @@ -1,79 +0,0 @@ -<div class="container-fluid"> - <h3>Video</h3> - <div class="formats row"> - - <? foreach($room->getVideoResolutions() as $res): ?> - <? $selection = $room->createSelectionObject($res) ?> - <div class="col-lg-3 col-md-4 col-lg-5 col-xs-12"> - <div class="btn-group" role="group"> - <div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div> - - <? if($room->hasTranslation()): ?> - - <a href="<?=h($selection->getLink())?>" class="btn btn-primary"> - <span class="fa fa-flag-o"></span> - Native - </a> - <? foreach($room->getTranslations() as $translation): ?> - <a href="<?=h($selection->getTranslatedLink($translation['endpoint']))?>" class="btn btn-primary"> - <span class="fa fa-flag"></span> - <?=h(ucfirst($translation['label']))?> - </a> - <? endforeach ?> - - <? else: ?> - - <a href="<?=h($selection->getLink())?>" class="btn btn-primary"> - <span class="fa fa-video-camera"></span> - Video - </a> - - <? endif ?> - </div> - </div> - <? endforeach ?> - - </div> - - <div class="notes well"> - <? include("$assemblies/desktop-player.phtml") ?> - </div> - - <div class="directlinks"> - <? foreach(Stream::getVideoProtos() as $proto => $display): ?> - <h3>Direct links (<?=h($display)?>)</h3> - <div class="row"> - <? foreach($room->getVideoResolutions() as $res): ?> - <? $selection = $room->createSelectionObject($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($switcherstream->getVideoTech($proto))?>"> - <div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div> - <? if($room->hasTranslation()): ?> - - <a href="<?=h($room->createStreamObject($res, 'native')->getVideoUrl($proto))?>" class="btn btn-default"> - <span class="fa fa-flag-o"></span> - Native - </a> - <? foreach($room->getTranslations() as $translation): ?> - <a href="<?=h($room->createStreamObject($res, $translation['endpoint'])->getVideoUrl($proto))?>" class="btn btn-default"> - <span class="fa fa-flag"></span> - <?=h(ucfirst($translation['label']))?> - </a> - <? endforeach ?> - - <? else: ?> - - <a href="<?=h($switcherstream->getVideoUrl($proto))?>" class="btn btn-default"> - <span class="fa fa-video-camera"></span> - Video - </a> - - <? endif ?> - </div> - </div> - <? endforeach ?> - </div> - <? endforeach ?> - </div> -</div> |