CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.42k stars 838 forks source link

SoundJS Examples fail #258

Closed supermensa closed 7 years ago

supermensa commented 7 years ago

When trying to run examples from my own server, I get these errors:

soundjs-NEXT.combined.js:1513  
Uncaught TypeError: Cannot read property 'POST' of undefined(…)
(anonymous function) @ soundjs-NEXT.combined.js:1513
(anonymous function) @ soundjs-NEXT.combined.js:2078

07_WebAudioNodeInsertion.html:74
Uncaught TypeError: Cannot read property 'registerPlugins' of undefined(…)
init @ 07_WebAudioNodeInsertion.html:74
onload @ 07_WebAudioNodeInsertion.html:12

Could possibly be linked with this commit? Updated shared classes to the latest

Edit: The 'PlayOnce' branch works fine.

lannymcnie commented 7 years ago

Yes, it looks like we need to update our internal utility that copies shared classes between repositories. Sorry for the inconvenience -- I will push a fix shortly.

lannymcnie commented 7 years ago

Thanks for the report. This has been rectified, and the latest has been pushed up. I did some quick tests with all the included demos, and it looks good now.

The latest commits also include a few other fixes, so please feel free to report any remaining issues.