diff options
author | MaZderMind | 2014-11-09 22:53:16 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-09 22:53:16 +0100 |
commit | 7da876b75ee3307e400eab65e6206c8dca7cf56a (patch) | |
tree | 75eb1fa9701b54bb9b0a87533915949fe81fbe3e /template/assemblies/switcher | |
parent | ffbff5eb16a30b673d0c8296068cce230c510ca3 (diff) |
minirooms (aka sendezentrum)
Diffstat (limited to 'template/assemblies/switcher')
-rw-r--r-- | template/assemblies/switcher/miniroom-audio.phtml | 12 | ||||
-rw-r--r-- | template/assemblies/switcher/miniroom-video.phtml | 40 |
2 files changed, 52 insertions, 0 deletions
diff --git a/template/assemblies/switcher/miniroom-audio.phtml b/template/assemblies/switcher/miniroom-audio.phtml new file mode 100644 index 0000000..f96fb71 --- /dev/null +++ b/template/assemblies/switcher/miniroom-audio.phtml @@ -0,0 +1,12 @@ +<h3>Directlinks</h3> +<ul> + <? foreach(array('mp3', 'ogg', 'opus') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_stream('audio', $room, $iter))?>"> + <span class="fa fa-volume-up"></span> + live podcast + </a> + </li> + <? endforeach ?> +</ul> diff --git a/template/assemblies/switcher/miniroom-video.phtml b/template/assemblies/switcher/miniroom-video.phtml new file mode 100644 index 0000000..619d50b --- /dev/null +++ b/template/assemblies/switcher/miniroom-video.phtml @@ -0,0 +1,40 @@ +<h3>Formats</h3> +<ul> + <? foreach(array('hq', 'lq') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_player($room, $iter))?>"> + <span class="fa fa-video-camera"></span> + live video-podcast + </a> + </li> + <? endforeach ?> +</ul> + +<hr /> + +<? foreach(array('rtmp', 'hls') as $protocol): ?> + <h3>Directlinks (<?=h(strtoupper($protocol))?>)</h3> + <ul> + <? foreach(array('hq', 'lq') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_stream($protocol, $room, $iter))?>"> + <span class="fa fa-video-camera"></span> + live video-podcast + </a> + </li> + <? endforeach ?> + </ul> +<? endforeach ?> + +<h3>Directlinks (WebM)</h3> +<ul> + <li> + <span class="label filetype">HQ</span> + <a href="<?=h(link_stream('webm', $room, 'webm'))?>"> + <span class="fa fa-video-camera"></span> + live video-podcast + </a> + </li> +</ul> |