Commit 49831d15 authored by Adrien Cunin's avatar Adrien Cunin Committed by Jean-Baptiste Kempf

Added mute button to http interface

It lacks an icon for now and doesn't have the "unmute" ability.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 96ad75b1
......@@ -94,6 +94,10 @@ sout and playlist .
<img src="images/volume_up.png" alt="Increase Volume" />
<span class="btn_text">Increase Volume</span>
<button id="btn_volume_mute" onclick="volume_mute();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Mute Volume" >
<img src="images/volume_mute.png" alt="Mute Volume" />
<span class="btn_text">Mute Volume</span>
<div id="status">
<span id="state">(?)</span>
......@@ -379,6 +379,10 @@ function volume_up()
loadXMLDoc( 'requests/status.xml?command=volume&val=%2B20', parse_status );
function volume_mute()
loadXMLDoc( 'requests/status.xml?command=volume&val=0', parse_status );
function seek( pos )
loadXMLDoc( 'requests/status.xml?command=seek&val='+pos, parse_status );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment