aboutsummaryrefslogtreecommitdiff
path: root/template/players
diff options
context:
space:
mode:
authorMaZderMind2014-10-19 12:12:20 +0200
committerMaZderMind2014-10-19 12:12:20 +0200
commitf652ae2be38e74796ed63ba72e23fcb632818118 (patch)
treefac87e88a3928b789c0d9b7f4a9a2ac5b6cbb77e /template/players
parentc2f7758004a9016910168ad47c1a4300e107f2c2 (diff)
restructure room site to produce a unique room/player/formats page
Diffstat (limited to 'template/players')
-rw-r--r--template/players/audio.phtml38
-rw-r--r--template/players/slides.phtml38
-rw-r--r--template/players/video.phtml8
3 files changed, 84 insertions, 0 deletions
diff --git a/template/players/audio.phtml b/template/players/audio.phtml
new file mode 100644
index 0000000..e3c85c9
--- /dev/null
+++ b/template/players/audio.phtml
@@ -0,0 +1,38 @@
+<pre><?=print_r(array(
+ 'room' => $room,
+ 'language' => $language,
+ 'format' => $format
+), true)?></pre>
+
+<?/*
+<video
+ autoplay="autoplay"
+ controls="controls"
+ id="video-tag"
+ preload="auto"
+ width="<?=h($width)?>"
+ height="<?=h($height)?>"
+>
+ <source
+ data-plugin-type="flash"
+ src="rtmp://rtmp.streaming.media.ccc.de:1935/stream/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>"
+ title="h.H264 (RTMP)"
+ type="video/rtmp"
+ />
+ <source
+ data-plugin-type="native"
+ src="http://hls.streaming.media.ccc.de/hls/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>.m3u8"
+ title="h.264 (HLS)"
+ type="application/vnd.apple.mpegURL"
+ />
+
+ <object
+ data="static/flashmediaelement.swf"
+ type="application/x-shockwave-flash"
+ width="<?=h($width)?>"
+ height="<?=h($height)?>"
+ >
+ <param name="allowFullScreen" value="true">
+ </object>
+</video>
+*/?>
diff --git a/template/players/slides.phtml b/template/players/slides.phtml
new file mode 100644
index 0000000..e3c85c9
--- /dev/null
+++ b/template/players/slides.phtml
@@ -0,0 +1,38 @@
+<pre><?=print_r(array(
+ 'room' => $room,
+ 'language' => $language,
+ 'format' => $format
+), true)?></pre>
+
+<?/*
+<video
+ autoplay="autoplay"
+ controls="controls"
+ id="video-tag"
+ preload="auto"
+ width="<?=h($width)?>"
+ height="<?=h($height)?>"
+>
+ <source
+ data-plugin-type="flash"
+ src="rtmp://rtmp.streaming.media.ccc.de:1935/stream/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>"
+ title="h.H264 (RTMP)"
+ type="video/rtmp"
+ />
+ <source
+ data-plugin-type="native"
+ src="http://hls.streaming.media.ccc.de/hls/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>.m3u8"
+ title="h.264 (HLS)"
+ type="application/vnd.apple.mpegURL"
+ />
+
+ <object
+ data="static/flashmediaelement.swf"
+ type="application/x-shockwave-flash"
+ width="<?=h($width)?>"
+ height="<?=h($height)?>"
+ >
+ <param name="allowFullScreen" value="true">
+ </object>
+</video>
+*/?>
diff --git a/template/players/video.phtml b/template/players/video.phtml
index 824a776..e3c85c9 100644
--- a/template/players/video.phtml
+++ b/template/players/video.phtml
@@ -1,3 +1,10 @@
+<pre><?=print_r(array(
+ 'room' => $room,
+ 'language' => $language,
+ 'format' => $format
+), true)?></pre>
+
+<?/*
<video
autoplay="autoplay"
controls="controls"
@@ -28,3 +35,4 @@
<param name="allowFullScreen" value="true">
</object>
</video>
+*/?>