Source:
https://github.com/e3ds/E3DS-Iframe-Demo
Iframe Demo:
https://iframe.eagle3dstreaming.com/
ReactJS Iframe Demo:
https://iframe_react.eagle3dstreaming.com/
...
https://eagle3dstreaming.atlassian.net/l/c/VcBU1G1R
Overview
Part-1 :
Receiving data from Unreal App to webpage
From UE4 App, if you send any json object that doesn't contain type
property, it will be catched window.e3ds.onEvent
function.
You can send json object like the following:
...
Now, what you want to do is upto you. You can always leave a message on our support center if you have any questions regarding this.
Part-2 :
Sending data from webpage to Unreal App
From Javascript client page:
...
Following is an example that retrieves Teleport
value from the JSON string passed from the page:
...
Frequently Asked Questions
How do I add an element
You can use DOM manipulation API of javascript to do so.
We have implemented an iframe as an example (Github link given on top). You can click increaseSessionTime
to make that iframe visible. Check the /js/eventHandler.js
file in the demo code from Github.
Check the following links and examples:
https://www.w3schools.com/js/js_htmldom.asp
https://www.w3schools.com/jsref/met_document_createelement.asp
Important links
Need help? Contact Support
If you still need help, contact support to get your issue resolved quickly.
...