Get rid of start/stop buttons in web UI. Change-Id: I504435ce500e5a01cdf5ccc0999ac7415e0dc42a
diff --git a/edgetpuvision/streaming/assets/ws_client.js b/edgetpuvision/streaming/assets/ws_client.js index b4092b2..9c9dcff 100644 --- a/edgetpuvision/streaming/assets/ws_client.js +++ b/edgetpuvision/streaming/assets/ws_client.js
@@ -35,39 +35,6 @@ canvas.height = height; container.appendChild(canvas); - var top = (height + 10) + "px"; - - var startButton = document.createElement("button"); - startButton.style.position = "relative"; - startButton.style.top = top; - startButton.style.marginRight = "10px" - startButton.innerHTML = "Start" - startButton.onclick = function() { - console.log('Start clicked!') - streamControl(true); - } - container.appendChild(startButton); - - var stopButton = document.createElement("button"); - stopButton.style.position = "relative"; - stopButton.style.top = top; - stopButton.style.marginRight = "10px" - stopButton.innerHTML = "Stop" - stopButton.onclick = function() { - console.log('Stop clicked!') - streamControl(false); - } - container.appendChild(stopButton); - - var licenseLink = document.createElement("a"); - licenseLink.appendChild(document.createTextNode("Open source licenses")); - licenseLink.title = "LICENSE"; - licenseLink.href = "broadway/LICENSE"; - licenseLink.target= "_blank"; - licenseLink.style.position = "relative"; - licenseLink.style.top = top; - container.appendChild(licenseLink); - return player }