Hi,
My game is working fine on my domain but as soon as I iframe that page on some other site it is throwing this error.
I am using webgl and unity.
Can someone please help me point where is the issue?
This is the error in browser console.
Uncaught DOMException: Blocked a frame with origin "http://xxxxxxxxxxxx.online" from accessing a cross-origin frame.
at Object.callback (eval at _JS_Eval_EvalJS (blob:http://xxxxxxxxxxxxxxxx.online/539244cxxxxxxxxxxxxxxxxxxxcbee16eab36:2:185106), <anonymous>:6:28)
at WebSocket.window.uws44e98xxxxxxxxxxxxxxxf59fe.ws.onopen (eval at _JS_Eval_EvalJS (blob:http://xxxxxxxxxxxxxxxx.online/5392xxxxxxxxxxxxxxxxxxx7-bcbee16eab36:2:185106), <anonymous>:74:111)
callback @ VM1116:6
window.uws44e9877xxxxxxxxxxxxxdfdff59fe.ws.onopen @ VM1116:74