aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/player/relive.phtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/assemblies/player/relive.phtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/assemblies/player/relive.phtml b/template/assemblies/player/relive.phtml
index 93b6c95..361e1bb 100644
--- a/template/assemblies/player/relive.phtml
+++ b/template/assemblies/player/relive.phtml
@@ -4,5 +4,11 @@
data-width="<?=h($width)?>"
data-height="<?=h($height)?>"
data-m3u8="<?=h(forceproto($talk['playlist']))?>"
+ <? if(array_key_exists('sprites', $talk)): ?>
+ data-sprites="<?= h($talk['sprites']['url']) ?>"
+ data-sprites-n="<?= h($talk['sprites']['n']) ?>"
+ data-sprites-cols="<?= h($talk['sprites']['cols']) ?>"
+ data-sprites-interval="<?= h($talk['sprites']['interval']) ?>"
+ <? endif ?>
>
</div>