mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
feat: Add mobile settings tab UI with user profile, appearance, and streaming options
This commit is contained in:
1 parent
47eaf50e0c
commit
4a829d316b
4 files changed
+281
-12
No files matched your search
@@ -198,6 +198,13 @@
|
||||
if (isFinite(data.value)) {
|
||||
video.currentTime = data.value;
|
||||
}
|
||||
} else if (data.type === 'set_volume') {
|
||||
// value is 0.0 to 1.0
|
||||
log('Setting volume: ' + data.value);
|
||||
if (isFinite(data.value)) {
|
||||
video.volume = Math.max(0, Math.min(1, data.value));
|
||||
video.muted = (data.value === 0);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user