userlist now provides buzzer info

This commit is contained in:
Samuel Kent
2022-12-27 16:07:41 +11:00
parent 252fa97606
commit 221414aff4
5 changed files with 68 additions and 80 deletions
-8
View File
@@ -7,14 +7,6 @@
<!-- <script src="https:/socket.io/socket.io.js"></script> -->
<script>
$(document).ready(function() {
// var socket = io();
// const buzzerSound = new Audio('TheNumberEight.wav');
// // const buzzerSound = new Audio('Cat.wav');
// $("#buzzer").mousedown(function() {
// buzzerSound.play();
// socket.emit("buzzerPressed", userName);
// });
const okdesuka = new Audio('Okdesuka.wav');
$("#userName").change(function() {
okdesuka.play();