How do I enable audio for android

Get help using Construct 2

Post » Wed Mar 22, 2017 1:40 pm

Message: bugworld can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Good day.

When I export my game and embed in my website, when I play in android (in chrome) I have this problem:

* An AudioContext in a cross origin iframe must be created or resumed from a user gesture to enable audio output.
* Failed to register service worker: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).
* Uncaught (in promise) DOMException: play() can only be initiated by a user gesture.


In my website I have the cross-origin enabled.

This problem only happens in android when I try in ios (chrome and safari) it works well.

Thanks
B
2
Posts: 2
Reputation: 156

Post » Mon Sep 11, 2017 8:48 am

I got the same problem as you. Anybody help?
B
21
S
6
G
1
Posts: 2
Reputation: 1,720

Post » Mon Sep 11, 2017 4:26 pm

I have the same problem too with audio in iframes
Image
B
28
S
7
G
1
Posts: 105
Reputation: 2,676


Return to How do I....?

Who is online

Users browsing this forum: Kermad, yiuyiu6666 and 23 guests