aboutsummaryrefslogtreecommitdiff
path: root/icecast_page.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'icecast_page.tpl.php')
-rw-r--r--icecast_page.tpl.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/icecast_page.tpl.php b/icecast_page.tpl.php
new file mode 100644
index 0000000..246d950
--- /dev/null
+++ b/icecast_page.tpl.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Format an embeded media element.
+ */
+?>
+ <video controls="controls" autoplay="autoplay" src="<?php print $listen_url; ?>">
+ <applet code="com.fluendo.player.Cortado.class"
+ archive="http://orelha.radiolivre.org/cortado.jar"
+ width="352" height="288">
+ <param name="url" value="<?php print $listen_url; ?>"/>
+ <param name="keepAspect" value="true"/>
+ <param name="video" value="true"/>
+ <param name="audio" value="true"/>
+ <param name="bufferSize" value="100"/>
+ </applet>
+ </video>