How to load and play an audio file simultaneously using Javascript -
just can start playing youtube video part of has been loaded, want able play audio files. i'm using howler.js. var song = new howl({ src: mysrc, volume: myvol }); the problem whole audio file has loaded before starts playing. can issue users slow networks. how can achieve situation audio starts playing part of loaded, or without howler.js? howler.js defaults web audio api, must download full audio file on xhr before beginning playback. however, if force html5 audio begin playing able, if full file has downloaded: var song = new howl({ src: mysrc, volume: myvol, html5: true });