/
Set Custom Resolution from Webpage in a Iframe

Eagle 3D Streaming

Set Custom Resolution from Webpage in a Iframe

Demo Link: E3DS Iframe Demo

Demo Repository: https://github.com/e3ds/E3DS-Iframe-Demo

 

Description:

You can change your Unreal App resolution from your webpage. Open the Demo Link from above and follow the demo video to set a custom resolution for your application.

 

Demo Video:

bandicam 2024-02-19 15-38-40-952.mp4
Image 1. Iframe: Change resolution

 

IMG_4845.MP4
Image 2. Iframe: Change mobile resolution

 

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

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

 

Here iframe_1 is the id of the iframe element.

<iframe allow="camera;microphone" style="visibility: hidden" id="iframe_1" src="https://connector.eagle3dstreaming.com/v5/demo/E3DSFeaturesTemplate/E3DS-Iframe-Demo" width="100%" height="100%" allowfullscreen > </iframe>


To learn more about how to communicate with your unreal app from your webpage follow this document.

 

Set Custom Resolution from Unreal App:


If you want to set a custom resolution from your unreal app, go to the following document.

 


Need help? Contact Support

If you still need help, contact support to get your issue resolved quickly.

Submit a new request at E3DS support portal or send an Email at support@eagle3dstreaming.com.

Seek advice. Connect with others. Share your experiences. Join our lively Community Forum today.

Related content

Open a URL in the Browser from within the Unreal App on the user's device
Open a URL in the Browser from within the Unreal App on the user's device
More like this
Embedding Stream into Webpage using iframe
Embedding Stream into Webpage using iframe
More like this
Override configuration settings via URL
Override configuration settings via URL
Read with this
Set Custom Resolution from blueprints of Unreal App
Set Custom Resolution from blueprints of Unreal App
More like this
Communicate with your App from iframe - HTML
Communicate with your App from iframe - HTML
Read with this
Change Maps in an Unreal App from an Iframe
Change Maps in an Unreal App from an Iframe
More like this

Eagle 3D Streaming