____ When I create a project with sound and music, both will play in the preview window but once the project is exported in HTML5 format, whether in Chrome, Firefox or IE, the music will not play, but the sound effects will.
I have both ogg and mp4 files for both the music and the sound effects ____
Attach a Capx
Link to minimal capx file is here: https://www.dropbox.com/s/mqq4w8dlwlkg8 ... .capx?dl=0
Description of Capx
____the capx file loads looping music, also loads a sprite which can move in a 8direction and is bound to layout. The sprite can be touched to trigger a sound effect.
Steps to Reproduce Bug
____ Music playing in preview but No music playing once project is exported to HTML5 either at start of layout or after first touch ____
____ Music should start on layout.____
Operating System and Service Pack
____ Windows 7 service pack 1 ____
Construct 2 Version ID
Step 2 says: "Play index.html in either Firefox, Chrome or IE"
What exactly are you doing here? If you're running it from disk, then don't expect it to work, it needs to be on a server. Then the server needs to have the right MIME types set up.
Develop games in your browser. Powerful, performant & highly capable.
Thanks so much! It works when played through the server but not from disc, as you say.
We love using Construct 2 when teaching games design to our students. See: http://gamescourse.blogspot.co.uk/2015/ ... lancf.html