mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
netcut: fix bug when sprites generation is disabled
This commit is contained in:
parent
7de7c2c592
commit
50b6c12dd5
1 changed files with 7 additions and 5 deletions
|
@ -26,11 +26,13 @@
|
||||||
id="video" preload="auto" data-setup="{}" controls
|
id="video" preload="auto" data-setup="{}" controls
|
||||||
style="min-height: 100px;"
|
style="min-height: 100px;"
|
||||||
poster="<?=h($talk['thumbnail'])?>"
|
poster="<?=h($talk['thumbnail'])?>"
|
||||||
data-sprites="<?= h($talk['sprites']['url']) ?>"
|
<? if (!empty($talk['sprites'])) { ?>
|
||||||
data-sprites-n="<?= h($talk['sprites']['n']) ?>"
|
data-sprites="<?= h($talk['sprites']['url']) ?>"
|
||||||
data-sprites-cols="<?= h($talk['sprites']['cols']) ?>"
|
data-sprites-n="<?= h($talk['sprites']['n']) ?>"
|
||||||
data-sprites-interval="<?= h($talk['sprites']['interval']) ?>"
|
data-sprites-cols="<?= h($talk['sprites']['cols']) ?>"
|
||||||
>
|
data-sprites-interval="<?= h($talk['sprites']['interval']) ?>"
|
||||||
|
<? } ?>
|
||||||
|
>
|
||||||
<source src="<?= h(forceproto($talk['playlist'])) ?>" type="application/x-mpegURL">
|
<source src="<?= h(forceproto($talk['playlist'])) ?>" type="application/x-mpegURL">
|
||||||
</video>
|
</video>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue