Pause music on Chrome iOS & Android stock on minimize?

Get help using Construct 2

Post » Sun Jul 05, 2015 8:42 pm

Having an issue where music keeps playing on on Chrome for iOS and the Android stock browser if the browser is minimized.. Weird thing that it pauses the music if you open a new tab in Chrome iOS, but not on minimize. The music stops fine in Safari on new tab or minimizing it, same goes for Chrome for Android. I have tried

1. Checking Pause on unfocus
2. Browser > On suspended > Stop All & Stop by name
3. Browser > Page is not visible > Stop All & Stop by name

None of these work, not sure what the issue is here, ideas anyone?
B
51
S
18
G
2
Posts: 111
Reputation: 4,611

Post » Mon Jul 06, 2015 2:15 am

So I did some testing and turns out it is a bug with either C2 or Chrome for iOS and the Android stock browser, neither of these browsers will trigger the Browser>On Suspend or Browser>On Resume events, which is also I guess what makes background music not stop playing when the browser loses focus. Link to the bug report is https://www.scirra.com/forum/viewtopic.php?f=151&t=149430
B
51
S
18
G
2
Posts: 111
Reputation: 4,611


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests