diff options
author | MaZderMind | 2015-03-30 16:20:30 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-30 16:20:30 +0200 |
commit | f7d9d592745d1cb5cb2de76ed6ae99be974f1807 (patch) | |
tree | 0f9f77efe9efc70b3ac0404a46b249f809197922 /template/assemblies/player/slides.phtml | |
parent | ea4b6c7699a7fbb7be3d9e5ce86c84a36b63f569 (diff) |
Implement MVT Pattern based on simple Config options
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/player/slides.phtml | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/template/assemblies/player/slides.phtml b/template/assemblies/player/slides.phtml index c2720d6..7887aa0 100644 --- a/template/assemblies/player/slides.phtml +++ b/template/assemblies/player/slides.phtml @@ -1,28 +1,22 @@ -<div style="width: 100%; height: 100%; max-width: <?=h($width)?>px; margin: 0 auto;"> +<div style="max-width: <?=h($stream->getVideoWidth())?>px; max-height: <?=h($stream->getVideoHeight())?>px;" class="video-wrap"> <video autoplay="autoplay" preload="auto" - width="<?=h($width)?>" - height="<?=h($height)?>" + width="<?=h($stream->getVideoWidth())?>" + height="<?=h($stream->getVideoHeight())?>" style="width: 100%; height: 100%;" > - <!--source + <source data-plugin-type="native" - src="<?=h(link_stream('webm', $room, 'webm_slides', $translated))?>" + src="<?=h($stream->getSlidesUrl('webm'))?>" 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))?>" + src="<?=h($stream->getSlidesUrl('hls'))?>" title="h.264 (HLS)" type="application/vnd.apple.mpegURL" /> </video> -</div>
\ No newline at end of file +</div> |