Uncaught TypeError and no Autoplay Audio on older andriods

Bugs will be moved here once resolved.

Post » Sat Feb 06, 2016 12:02 pm

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:
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)
B
3
Posts: 4
Reputation: 183

Post » Tue Feb 09, 2016 4:49 pm

I think this is caused by a temporary workaround to a Chrome bug in r221. We're removing the workaround soon, but I must say, you should not expect any support at all for such old OS versions. iOS 5 is so old that it doesn't even register in the stats I look at, and even on slower-moving Android, only 2.5% of users are on 4.0, and Google has dropped support for it too.
Scirra Founder
B
397
S
236
G
88
Posts: 24,423
Reputation: 194,560


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests