aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/video.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/switcher/video.phtml')
-rw-r--r--template/assemblies/switcher/video.phtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml
new file mode 100644
index 0000000..bceb93c
--- /dev/null
+++ b/template/assemblies/switcher/video.phtml
@@ -0,0 +1,16 @@
+<h3>Video</h3>
+<ul>
+ <? foreach(array('hd', 'hq', 'lq') as $iter): ?>
+ <li>
+ <span class="label filetype"><?=h(strtoupper($iter))?></span>
+ <a href="<?=h(link_player($room, $iter))?>">
+ <span class="fa fa-download"></span>
+ native
+ </a>
+ <a href="<?=h(link_player($room, $iter, true))?>">
+ <span class="fa fa-download"></span>
+ translated
+ </a>
+ </li>
+ <? endforeach ?>
+</ul>