1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Update: Use content-type not server_type for player

This commit is contained in:
Philipp Schafft 2020-10-01 14:10:03 +00:00
parent f9980b3563
commit 70090e1f18

View File

@ -12,10 +12,10 @@
<h4>Play stream</h4>
<!-- Player -->
<xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg') or (server_type = 'audio/webm'))">
<xsl:if test="content-type and ((content-type = 'application/ogg') or (content-type = 'audio/ogg') or (content-type = 'audio/webm'))">
<div class="audioplayer">
<audio controls="controls" preload="none">
<source src="{@mount}" type="{server_type}" />
<source src="{@mount}" type="{content-type}" />
</audio>
</div>
</xsl:if>