You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 14:11:59 +01:00
Update main.js
Prevent the volume from remaining the same when the player is paused with the volume at zero If you pause the player, reset the volume and play it again, you will see that the player will have the volume at 100% for a moment
This commit is contained in:
@@ -11,6 +11,7 @@ function createStream() {
|
||||
try {
|
||||
const settings = new _3LAS_Settings();
|
||||
Stream = new _3LAS(null, settings);
|
||||
Stream.Volume = $('#volumeSlider').val();
|
||||
Stream.ConnectivityCallback = OnConnectivityCallback;
|
||||
} catch (error) {
|
||||
console.error("Initialization Error: ", error);
|
||||
|
||||
Reference in New Issue
Block a user