aboutsummaryrefslogtreecommitdiff
path: root/template/players/video.phtml
diff options
context:
space:
mode:
authorMaZderMind2014-10-19 13:44:34 +0200
committerMaZderMind2014-10-19 13:44:34 +0200
commitce98e5359797c26be23c5db9a786fbd1e58acc7d (patch)
treeccad65d7be7cc4224fe7415b015bd294528d7807 /template/players/video.phtml
parente94c9bcce4dffc0bb1bbf64be9dac4ec4925b554 (diff)
direct links to video formats
Diffstat (limited to '')
-rw-r--r--template/assemblies/players/video.phtml (renamed from template/players/video.phtml)9
1 files changed, 4 insertions, 5 deletions
diff --git a/template/players/video.phtml b/template/assemblies/players/video.phtml
index e3c85c9..ca0e87b 100644
--- a/template/players/video.phtml
+++ b/template/assemblies/players/video.phtml
@@ -1,10 +1,10 @@
<pre><?=print_r(array(
+ 'file' => basename(__FILE__),
'room' => $room,
'language' => $language,
'format' => $format
), true)?></pre>
-<?/*
<video
autoplay="autoplay"
controls="controls"
@@ -15,19 +15,19 @@
>
<source
data-plugin-type="flash"
- src="rtmp://rtmp.streaming.media.ccc.de:1935/stream/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>"
+ src="<?=h(link_stream('rtmp', $room, $format, $translated))?>"
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"
+ src="<?=h(link_stream('hls', $room, $format, $translated))?>"
title="h.264 (HLS)"
type="application/vnd.apple.mpegURL"
/>
<object
- data="static/flashmediaelement.swf"
+ data="/assets/js/lib/flashmediaelement.swf"
type="application/x-shockwave-flash"
width="<?=h($width)?>"
height="<?=h($height)?>"
@@ -35,4 +35,3 @@
<param name="allowFullScreen" value="true">
</object>
</video>
-*/?>