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

Configure Feed

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

EXPERIMENT: Try playing the audio on `loadeddata` instead of `canplay`

+2 -2
+2 -2
src/Javascript/audio-engine.js
··· 225 225 } 226 226 227 227 228 - function audioLoaded() { 228 + function audioLoaded(event) { 229 229 clearTimeout(this.loadingTimeoutId) 230 230 this.app.ports.setAudioIsLoading.send(false) 231 + if (event.target.paused) event.target.play() 231 232 } 232 233 233 234 ··· 245 246 246 247 247 248 function audioCanPlayEvent(event) { 248 - if (event.target.paused) event.target.play() 249 249 if (event.target.duration != lastSetDuration) { 250 250 this.app.ports.setAudioDuration.send(event.target.duration || 0) 251 251 lastSetDuration = event.target.duration