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

Added <audio> for supported streams. TNX ePirat

svn path=/icecast/trunk/icecast/; revision=19134
This commit is contained in:
Thomas B. "dm8tbr" Ruecker 2014-05-05 05:16:44 +00:00
parent cce17fc5e4
commit 29feb25e6b
2 changed files with 14 additions and 0 deletions

View File

@ -69,6 +69,13 @@
</xsl:if>
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
</ul>
<xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg'))">
<div class="audioplayer">
<audio controls="controls" preload="none">
<source src="{@mount}" type="{server_type}" />
</audio>
</div>
</xsl:if>
<table class="yellowkeys">
<tbody>
<xsl:for-each select="*">

View File

@ -50,6 +50,13 @@
</div>
</div>
<div class="mountcont">
<xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg'))">
<div class="audioplayer">
<audio controls="controls" preload="none">
<source src="{@mount}" type="{server_type}" />
</audio>
</div>
</xsl:if>
<table class="yellowkeys">
<tbody>
<xsl:if test="server_name">