1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Also show <audio> element on audio/webm

This commit is contained in:
Philipp Schafft 2019-05-28 07:26:51 +00:00
parent e60a36bfb6
commit 77312c4582

View File

@ -35,7 +35,7 @@
</div> </div>
</div> </div>
<div class="mountcont"> <div class="mountcont">
<xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg'))"> <xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg') or (server_type = 'audio/webm'))">
<div class="audioplayer"> <div class="audioplayer">
<audio controls="controls" preload="none"> <audio controls="controls" preload="none">
<source src="{@mount}" type="{server_type}" /> <source src="{@mount}" type="{server_type}" />