aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorFlorian Larysch2016-12-29 00:33:22 +0100
committerFlorian Larysch2016-12-29 00:33:22 +0100
commitff785d9ed55378263bf3b130bb473c815b20b637 (patch)
treefebf627a58e5a810c456d1c9a85c293bb538bd06 /template/assemblies
parent3b896417ec6424130e85f21c5ce44a0525fe0395 (diff)
add initial player
Diffstat (limited to 'template/assemblies')
-rw-r--r--template/assemblies/player/relive.phtml22
1 files changed, 7 insertions, 15 deletions
diff --git a/template/assemblies/player/relive.phtml b/template/assemblies/player/relive.phtml
index ae108b1..93b6c95 100644
--- a/template/assemblies/player/relive.phtml
+++ b/template/assemblies/player/relive.phtml
@@ -1,16 +1,8 @@
-<div style="max-width: <?=h($width)?>px; max-height: <?=h($height)?>px;" class="video-wrap">
- <video
- autoplay="autoplay"
- preload="auto"
- width="<?=h($width)?>"
- height="<?=h($height)?>"
- style="width: 100%; height: 100%;"
- class="relive mejs"
- >
- <source
- src="<?=h(forceproto($talk['playlist']))?>"
- title="h.264 (HLS)"
- type="application/x-mpegURL"
- />
- </video>
+<div
+ style="max-width: <?=h($width)?>px; max-height: <?=h($height)?>px;"
+ class="video-wrap"
+ data-width="<?=h($width)?>"
+ data-height="<?=h($height)?>"
+ data-m3u8="<?=h(forceproto($talk['playlist']))?>"
+>
</div>