Stream integration into Website
We have two methods for integrating Pixel streaming into a website:
iframe
Streaming UI
Method 1 : iframe based implementation
The <iframe>
tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML document.
Â
<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>
Â
You can add the streaming URL as src of the iframe to use pixel streaming inside your website.
Here are the options you have to add pixel streaming to your website through iframe:
HTML - refer to Communicate with your App from iframe - HTML
ReactJS - refer to Communicate with your App from iframe - React
Wordpress - refer to Integrating Streaming UI via iframe in a WordPress website
Method 2 : no-iframe solution (Streaming UI):
Streaming UI allows you more control over the HTML elements than using iframe. Currently, we have three options for integrating streaming UI into your website:
HTML/ejs - refer to Embed streaming into a webpage (no iframe solution)
ReactJS - refer to Minimal initialization of pixel streaming to a React App
AngularJS - refer to Minimal initialization of Pixel Streaming to a Angular App
Note:
We currently support these frameworks. If you want to implement streaming UI in a different framework, you will need someone with knowledge of one of the frameworks that we support and also the framework that you want to use.
Â