[r206] On audio ended triggering on unfocus browser

Bugs will be moved here once resolved.

Post » Thu May 28, 2015 5:13 pm

Problem Description
When "Pause on unfocus" is set as Yes and an audio is playing, on unfocusing the browser and focusing again, the event "On audio ended" is triggered.

Attach a Capx
https://www.dropbox.com/s/n6bx6p7nrckjz5k/AudioBug.capx?dl=0

Description of Capx
Button that play some audio and fade in an sprite.

Steps to Reproduce Bug
  • 1. Execute the project
  • 2. Unfocus the browser
  • 3. Focus again


Observed Result
"On audio ended" triggers on focusing the browser

Expected Result
Only trigger the event when the audio ends.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (NO)

Operating System and Service Pack
Windows 8.1 Pro (x64)

Construct 2 Version ID
r206
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Thu May 28, 2015 10:02 pm

I've experienced this issue on iOS as well, after exporting via Intel XDK.
B
37
S
5
G
1
Posts: 155
Reputation: 2,140

Post » Fri Jun 05, 2015 1:29 pm

I can only reproduce on the current Chrome stable (43), but not Canary (45). Still I found a workaround so it should be fixed in the next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest