aboutsummaryrefslogtreecommitdiff
path: root/priv/static/room.js
diff options
context:
space:
mode:
Diffstat (limited to 'priv/static/room.js')
-rw-r--r--priv/static/room.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/priv/static/room.js b/priv/static/room.js
index 85ef9d3..81ecf71 100644
--- a/priv/static/room.js
+++ b/priv/static/room.js
@@ -25,6 +25,7 @@
playsinline: true,
preload: "auto",
});
+ player.controlBar.progressControl.disable();
const updatePlaybackState = (latestReceivedState, nowMilliseconds) => {
if (nowMilliseconds - latestReceivedState.receivedAtMilliseconds > 2000) {
@@ -100,6 +101,7 @@
const CHECK_STATE_INTERVAL_MILLISECONDS = 20;
if (host) {
+ player.controlBar.progressControl.enable();
intervalId = setInterval(() => {
websocket.send(
prepareStateUpdateMessage(