New Sleep Timer button

This commit is contained in:
Pecusx
2017-03-05 13:09:57 +01:00
committed by GitHub
parent 630057d1e7
commit 6b706dd78b
+6 -2
View File
@@ -47,9 +47,10 @@
<div id="nadole">
<div id="player">
</div>
<button id="VDOWNbutton">VOL-</button>
<button id="VUPbutton">VOL+</button>
<button id="VDOWNbutton">V-</button>
<button id="MUTEbutton">MUTE</button>
<button id="VUPbutton">V+</button>
<button id="TIMERbutton">SLEEP TIMER</button>
</div>
<script>
$("#OKbutton").click(function() {
@@ -100,6 +101,9 @@
$("#MUTEbutton").click(function() {
$.post("button.php?key=KEY_MUTE");
});
$("#TIMERbutton").click(function() {
$.post("button.php?key=KEY_TIME");
});
$("#RADIObutton").click(function() {
$.post("button.php?key=KEY_RADIO");
setTimeout(function(){