Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To make this work in your project, you need to send the following JSON object to your unreal app:

Code Block
{let obj = {
"			cmd": "freezeResolutionAt",
  "x": (YourValue),
  "y": (YourValue)
}

...

			x: e.target.width.value,
			y: e.target.height.value
	}
document.getElementById("iframe_1").contentWindow.postMessage(JSON.stringify(obj), "*");


To learn more about how to communicate with your unreal app from your webpage follow the document: Communicate with your App from iframe - HTML

...