Game Page Back To Lobby Notification
If the lobby button is enabled on the game page and game page is embedded in an iframe, you can receive notifications outside the iframe.
When redirecting player to the lobby from the game page, the "closeGame" message will be sent to the outer iframe through the postMessage
method. Please refer to the following usage example:
window.addEventListener('message', function (event) {
if (event.data === 'closeGame') {
// Close the game
}
});
Supported Game Providers
Provider | Is Supported |
---|---|
JDB | Y |
SPRIBE | Y |
FC | N |
AMB | Y |
SWG | Y |
MANCALA | N |
YB | Y |
HRG | N |
GTF | Y |
ONLYPLAY | N |
INJOY | Y |
CREEDROOMZ | N |
ZESTPLAY | N |
SMARTSOFT | Y |