Skip to content

Some events aren't triggered for games hosted on a separate domain. #3

@probityrules

Description

@probityrules

I am able to load a SpringRoll game using springroll.Container, but it seems that the communication between the game and the page wrapper isn't happening.

Specifically, if I set up handlers for all of the Container's exposed events, I see "resumed", "pause", "paused", and "helpEnabled" occur, but others like "opening" and "opened" are not occurring when the wrapper is on, for example, localhost and the game is hosted on another site. However, if I pull a game stored on localhost, I do see "open", "opening", "features", and "opened" events.

I assume this is a cross-domain issue of some sort. Is there a workaround for this or must games and sites use the same domain for pages to handle events coming from a game?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions