aboutsummaryrefslogtreecommitdiff
path: root/template/players
diff options
context:
space:
mode:
authorMaZderMind2014-10-18 14:31:23 +0200
committerMaZderMind2014-10-18 14:31:23 +0200
commitebaecb018a797ac9bf29ca6731dedf2cc89b2441 (patch)
tree98ea91db6f83c2cf8b7c92e029706793b963a5be /template/players
parentc3a21ba38664d89d946b849f8a3c36941bc72e12 (diff)
move player templates to subfolder
Diffstat (limited to 'template/players')
-rw-r--r--template/players/video.phtml30
1 files changed, 30 insertions, 0 deletions
diff --git a/template/players/video.phtml b/template/players/video.phtml
new file mode 100644
index 0000000..824a776
--- /dev/null
+++ b/template/players/video.phtml
@@ -0,0 +1,30 @@
+<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>