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