mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
gulp listener on remotecontroller too, and updated remotecontroller.js
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
var start = true;
|
||||
var id;
|
||||
//var socket;
|
||||
|
||||
$(document).ready(function (){
|
||||
setTimeout(function(){$("#search").focus();},500);
|
||||
@@ -13,20 +12,21 @@ $(document).ready(function (){
|
||||
}
|
||||
});
|
||||
|
||||
function play()
|
||||
$("#playbutton").on("click", function()
|
||||
{
|
||||
socket.emit("id", [id, "play", "mock"]);
|
||||
};
|
||||
});
|
||||
|
||||
function pause()
|
||||
$("#pausebutton").on("click", function()
|
||||
{
|
||||
socket.emit("id", [id, "pause", "mock"]);
|
||||
};
|
||||
});
|
||||
|
||||
function skip()
|
||||
$("#skipbutton").on("click", function()
|
||||
{
|
||||
socket.emit("id", [id, "skip", "mock"]);
|
||||
};
|
||||
});
|
||||
|
||||
/*
|
||||
document.getElementById("volume-control").addEventListener("click", function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user