# Simulating participant using video file - WebGL not supported

**URL:** <https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193>\
**Category:** Web\
**Created:** [January 19, 2024, 9:28pm UTC](https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193 "2024-01-19T21:28:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akai](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@akai](https://devforum.zoom.us/u/akai)\
**Post date:** [January 19, 2024, 9:28pm UTC](https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193/1 "2024-01-19T21:28:36Z")

</div>

**Description**  
We have a test page that uses a video file as a media stream and it works fine on desktops but we can’t seem to run it using AWS EC2 instances. We tried both Ubuntu & Windows with Nvidia GPU drivers but keep getting a WebGL is not supported error and the video file. Messing with flags on Chrome also didn’t help. The video just never renders.

Ideally we are able to pass a generic MediaStream object to the VideoSDK as we can easily generate a stream on these EC2 devices but the SDK doesn’t accept a generic MediaStream object and we are limited to either using a webcam or a video file.

**Browser Console Error**  
Initialization of backend webgl failed  
WebGL is not supported on this device

**Which Web Video SDK version?**  
1.10.5

**Video SDK Code Snippets**  
mediaStream.startVideo({  
videoElement,  
mediaFile: { loop: true, url }  
})

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [January 30, 2024, 2:49am UTC](https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193/2 "2024-01-30T02:49:00Z")

</div>

Hey @akai

Thanks for your feedback.

At present, Video SDK Web only supports running in a browser environment or in applications that mimic a browser environment (such as Electron apps or embedded webviews).

It does not currently support running in a Node.js environment.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![akai](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@akai](https://devforum.zoom.us/u/akai)\
**Post date:** [February 3, 2024, 2:38pm UTC](https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193/3 "2024-02-03T14:38:15Z")

</div>

Hey @vic.yang, we are indeed trying to run this within a Chrome browser on an EC2 Linux instance and the browser console errors pointed above are referring to errors showing up on the Chrome browser.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 5, 2024, 12:38am UTC](https://devforum.zoom.us/t/simulating-participant-using-video-file-webgl-not-supported/102193/4 "2024-03-05T00:38:40Z")

</div>

Closed on March 5, 2024, 12:38am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
