bugworld's Forum Posts

  • 2 posts
  • Good day.

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

    [quote:1vrsinqq]* 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: 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi.

    I have a game in the last version of construct 2, and what I want to do is embed my game in my website.

    The problem is that in my website I can't use an iframe and the only way that I can do is put the information of the html of the game in a div inside the site.

    I know how to do it, but my question is, how can I embed the game in a div and the game do a fit to the size of this div and not read the size of the full window?

    I am exporting the game as a letterbox scale for the responsive.

  • 2 posts