Problem Description
Audio does not play properly on older androids and iOS. There are two problems:
1. Sound/Music does not play until I touch any part of the screen.
2. Got Javascript error awhile after the audio finished playing (wait around 10-20 seconds), the following pop ups:
[quote:2yqqo8p2]Javascript Error! Uncaught TypeError: Cannot read property 'createBuffer' of null http://192.XXX.X.XXX:50000/Audio_plugin.js, line 2338 (col 24)
This may be a bug in Construct 2 or a thrid party plugin or behavior....etc
Attach a Capx
https://www.dropbox.com/s/y9jb8btl57k9c ... .capx?dl=0
Description of Capx
1. Plays audio automatically at start of layout
2. Plays audio when green box is clicked
Observed Result
1. Audio does not play automatically until I touch the screen
2. Javascript error as described above.
Affected Browsers
- Chrome: 42.02311.111 on Andrio:4.0.3
- Safari: 7534.48.3 on iOS 5.1.1
Works on newer devices but hope you can support older devices as well, as my game is highly audio dependent (kids games) and a lot of parents simply let their kids play games on their old mobile devices.
Construct 2 Version ID
221 (64 bits)