diff options
author | MaZderMind | 2014-12-02 23:57:38 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-02 23:57:38 +0100 |
commit | 9a3c16aecb0fcd28f3c9cd126db4495d7a783769 (patch) | |
tree | 0b46138c97501a24cc95e9faf4ef99cad5ebbc86 /template/assemblies/player | |
parent | 866b1ec28af165142a62d80d4dccb2e9b59ad002 (diff) |
slide-stream will be delivered as a ultra-low-bitrate video
not as jpegs like last year
Diffstat (limited to 'template/assemblies/player')
-rw-r--r-- | template/assemblies/player/slides.phtml | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/template/assemblies/player/slides.phtml b/template/assemblies/player/slides.phtml index f26163a..c2720d6 100644 --- a/template/assemblies/player/slides.phtml +++ b/template/assemblies/player/slides.phtml @@ -1,13 +1,28 @@ -<img - width="1024" - height="576" - - data-src="<?=h(link_stream('slide', $room, null, $translated))?>" - - alt="<?=h($title)?>" - class="slide template" -/> - -<div class="slide-audio"> - <? include('audio.phtml') ?> -</div> +<div style="width: 100%; height: 100%; max-width: <?=h($width)?>px; margin: 0 auto;"> + <video + autoplay="autoplay" + preload="auto" + width="<?=h($width)?>" + height="<?=h($height)?>" + style="width: 100%; height: 100%;" + > + <!--source + data-plugin-type="native" + src="<?=h(link_stream('webm', $room, 'webm_slides', $translated))?>" + title="WebM (Icecast)" + type="video/webm" + /--> + <source + data-plugin-type="flash" + src="<?=h(link_stream('rtmp', $room, 'slides', $translated))?>" + title="h.264 (RTMP)" + type="video/rtmp" + /> + <source + data-plugin-type="native" + src="<?=h(link_stream('hls', $room, 'slides', $translated))?>" + title="h.264 (HLS)" + type="application/vnd.apple.mpegURL" + /> + </video> +</div>
\ No newline at end of file |