Open a URL in the Browser from within the Unreal App on the user's device
This guide explains how to open an external URL in a new browser tab from within an Unreal Engine application running in the browser.
Instructions
Check out the video demonstrations of this feature on desktop and mobile devices:
1. Desktop Preview
Video 1. Desktop Preview
2. Mobile Preview
Video 2. Mobile Preview
Experience the Feature from this demo URL :
Developer Notes
Before reading this section you should be familar with concepts such as pixel streaming messaging and JSON objects , take a look at the document below covering , how to send a Pixel Streaming Command to E3DS System:
How to send a Pixel Streaming Response
Implementation Steps
Step 1. Send the URL via JSON
Send the external URL from your Unreal application using a JSON object over the Pixel Streaming messaging system.
JSON Syntax:
{ "cmd": "launchUrl", "value": "Put URL Here" }
Example:
{ "cmd": "launchUrl", "value": "http://www.eagle3dstreaming.com/ " }
Step 2. Open a New Tab
On the browser side, our system reads the incoming JSON message and opens a new tab using the provided URL.
Blueprint text version
Blueprint text version will be added soon.
Troubleshooting
Please note that in some URL there could be special signs which won’t be compatible with this. For that you have to encode the URL to replace special characters with the corresponding encoded version. here is a website for that:
https://www.urlencoder.org/
Was this article helpful? Comment Below. Let us know your feedback.
Need help? Contact Support
Submit a new request at E3DS support portal.
Requests sent on weekends will not be addressed until the following business day.