aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/player/audio.phtml
blob: c3594eb1629821176dad750af4eb232b43812cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<video
	preload="auto"
	controls="controls"
	autoplay="autoplay"
	style="max-height: 400px; max-width:100vw; display: block; margin: auto;"
	poster="<?=h($stream->getPoster())?>"
>
	<source
		src="<?=h($stream->getAudioUrl('mp3'))?>"
		type="audio/mp3"
	/>
	<source
		src="<?=h($stream->getAudioUrl('opus'))?>"
		type="audio/opus"
	/>
</video>