A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: adjust audio volume effect

+5 -4
+5 -4
src/components/engine/audio/element.js
··· 94 94 95 95 // Monitor volume signal 96 96 this.effect(() => { 97 - Array.from(this.querySelectorAll("de-audio-item audio")).forEach( 97 + Array.from(this.querySelectorAll("de-audio-item")).forEach( 98 98 (node) => { 99 - const audio = /** @type {HTMLAudioElement} */ (node); 100 - if (audio.hasAttribute("preload")) return; 101 - audio.volume = this.#volume.value; 99 + const item = /** @type {AudioEngineItem} */ (node); 100 + if (item.hasAttribute("preload")) return; 101 + const audio = item.querySelector("audio"); 102 + if (audio) audio.volume = this.#volume.value; 102 103 }, 103 104 ); 104 105