aboutsummaryrefslogtreecommitdiff
path: root/icecast_page.tpl.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-03-10 19:36:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-03-10 19:36:40 -0300
commitfb55bed3c804a134f8cbdb77607979e384584bb3 (patch)
tree91133fad04a85cfef8a70218b49509dc5d7130d6 /icecast_page.tpl.php
downloadicecast_page-master.tar.gz
icecast_page-master.tar.bz2
Initial commitHEADmaster
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>