mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
Streaming control button added.
This commit is contained in:
+8
-1
@@ -30,7 +30,8 @@
|
||||
<button id="DOWNbutton">v</button>
|
||||
<div id="speak">
|
||||
<button id="LGbutton">LANGUAGE</button><br>
|
||||
<button id="INFObutton">INFO</button>
|
||||
<button id="INFObutton">INFO</button><br>
|
||||
<button id="STREAMTbutton">STREAM ON/OFF</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="lewebuttony">
|
||||
@@ -122,5 +123,11 @@
|
||||
$("#player").load("player.php");
|
||||
}, 5500);
|
||||
});
|
||||
$("#STREAMTbutton").click(function() {
|
||||
$.post("button.php?key=STREAMING_TOGGLE");
|
||||
setTimeout(function(){
|
||||
$("#player").load("player.php");
|
||||
}, 4000);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user