'Howler audio stream is not working - Editor X
I'm trying to make an online stream website with EditorX and I'm using howler to stream the audio. Below is my code. In the console output, I`m getting only Home on ready. and the state "unloaded"
I have tried the same on Webflow as well and it is working fine. How can I make this work? Really appreciate it if someone can help me out with this
import {Howl, Howler} from 'howler';
var $sound;
$w.onReady(function(){
console.log("Home on ready");
$sound = new Howl({
src: ['https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3'],
html5: true
});
$sound.once('load', function(){
$sound.play();
console.log($sound.state());
});
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
