VolumeBooster: fix stream on web based clients (#2916)
Co-authored-by: v <vendicated@riseup.net>
This commit is contained in:
parent
e7956413e2
commit
eab0cf9966
|
@ -77,6 +77,11 @@ export default definePlugin({
|
||||||
match: /Math\.max.{0,30}\)\)/,
|
match: /Math\.max.{0,30}\)\)/,
|
||||||
replace: "arguments[0]"
|
replace: "arguments[0]"
|
||||||
},
|
},
|
||||||
|
// Fix streams not playing audio until you update them
|
||||||
|
{
|
||||||
|
match: /\}return"video"/,
|
||||||
|
replace: "this.updateAudioElement();$&"
|
||||||
|
},
|
||||||
// Patch the volume
|
// Patch the volume
|
||||||
{
|
{
|
||||||
match: /\.volume=this\._volume\/100;/,
|
match: /\.volume=this\._volume\/100;/,
|
||||||
|
|
Loading…
Reference in a new issue