Deploy a game on your own domain
Run a Bridge-integrated game on your own domain (standalone): embed it in an iframe, proxy the Playgama Bridge SDK over postMessage, and serve Playgama ads — with no changes on the game side.
Overview
Prerequisites
Limitations
How it works
loads
┌──────────────────────────┐ wrap.v1.js ┌──────────────────────────┐
│ Game in iframe │ ◄────────────► │ This page (host) │
│ ?platform_id=standalone │ postMessage │ wrap-host.v1.js │
│ Bridge → PLAYGAMA_WRAP │ │ PLAYGAMA_WRAP_HOST │
└──────────────────────────┘ └──────────────────────────┘Setup in 3 steps
1. Place the game iframe
2. Add the SDK scripts
3. Initialize the wrap host
Minimal working example
init(config) reference
Parameters
Parameter
Type
Required
Default
Description
Connect your backend
Authentication
Cloud saves
Payments
Troubleshooting
Agent Instructions: Querying This Documentation
Last updated