diff options
author | MaZderMind | 2014-10-19 13:44:34 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 13:44:34 +0200 |
commit | ce98e5359797c26be23c5db9a786fbd1e58acc7d (patch) | |
tree | ccad65d7be7cc4224fe7415b015bd294528d7807 /template/assemblies/players | |
parent | e94c9bcce4dffc0bb1bbf64be9dac4ec4925b554 (diff) |
direct links to video formats
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/players/audio.phtml (renamed from template/players/audio.phtml) | 1 | ||||
-rw-r--r-- | template/assemblies/players/slides.phtml (renamed from template/players/slides.phtml) | 1 | ||||
-rw-r--r-- | template/assemblies/players/video.phtml (renamed from template/players/video.phtml) | 9 |
3 files changed, 6 insertions, 5 deletions
diff --git a/template/players/audio.phtml b/template/assemblies/players/audio.phtml index e3c85c9..f9993c1 100644 --- a/template/players/audio.phtml +++ b/template/assemblies/players/audio.phtml @@ -1,4 +1,5 @@ <pre><?=print_r(array( + 'file' => basename(__FILE__), 'room' => $room, 'language' => $language, 'format' => $format diff --git a/template/players/slides.phtml b/template/assemblies/players/slides.phtml index e3c85c9..f9993c1 100644 --- a/template/players/slides.phtml +++ b/template/assemblies/players/slides.phtml @@ -1,4 +1,5 @@ <pre><?=print_r(array( + 'file' => basename(__FILE__), 'room' => $room, 'language' => $language, 'format' => $format 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> -*/?> |