Handle addGainElement failure
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
@@ -128,6 +128,7 @@ class HtmlAudioPlayer {
|
||||
|
||||
if (!self.gainNode) {
|
||||
addGainElement(elem);
|
||||
if (!self.gainNode) return;
|
||||
}
|
||||
|
||||
if (normalizationGain) {
|
||||
|
||||
Reference in New Issue
Block a user