Streaming control button added.

This commit is contained in:
Pecusx
2017-05-07 13:42:23 +02:00
committed by GitHub
parent 9a824c4041
commit 77277e08ba
+8 -1
View File
@@ -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>