marcelojean10 Posted June 17, 2017 Share Posted June 17, 2017 Hi guys I'm beginner on framework phaser and I have problem with musics of play. According to the printscreen below. Link to comment Share on other sites More sharing options...
marcelojean10 Posted June 17, 2017 Author Share Posted June 17, 2017 sorted out. Link to comment Share on other sites More sharing options...
Jammy Posted June 17, 2017 Share Posted June 17, 2017 The problem is to do with security and running your code without a webserver, imagine webpages could access local files - that would be a problem. You either need to run a local webserver to serve the files up or you can run chrome insecurely with a flag. https://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-allow-file-access-from-files-mode What I do instead is just make a lightweight node server, and run it up when I want to test my code. https://stackoverflow.com/questions/6084360/using-node-js-as-a-simple-web-server Hope that helps. Thanks, Jammy Link to comment Share on other sites More sharing options...
marcelojean10 Posted June 17, 2017 Author Share Posted June 17, 2017 sorted out, my friend. thank very much to so collaborations. I needed to put my files on server. Link to comment Share on other sites More sharing options...
Recommended Posts