# webGLContextLostProtect

**URL:** <https://devforum.zoom.us/t/webglcontextlostprotect/74261>\
**Category:** Web\
**Created:** [August 15, 2022, 10:58pm UTC](https://devforum.zoom.us/t/webglcontextlostprotect/74261 "2022-08-15T22:58:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irfan.ali1922](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/irfan.ali1922/32/37907_2.png) [@irfan.ali1922](https://devforum.zoom.us/u/irfan.ali1922)\
**Post date:** [August 15, 2022, 10:58pm UTC](https://devforum.zoom.us/t/webglcontextlostprotect/74261/1 "2022-08-15T22:58:26Z")

</div>

Hey,  
I understand that Zoom advises rendering multiple videos on a single canvas. However, we frequently need to display additional information along with video, such as the username, mute/unmute button, etc.  
Calling the “canvas.getContext(“2d”)” function on canvas is required to do that. nonetheless, the moment I call this method, I receive the following error:

cdc37ca3-005f-43ed-a64d-499975686a4e:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘addEventListener’)  
at p.webGLContextLostProtect (cdc37ca3-005f-43ed-a64d-499975686a4e:1:181061)  
at p.Get\_Display (cdc37ca3-005f-43ed-a64d-499975686a4e:1:182334)  
at cdc37ca3-005f-43ed-a64d-499975686a4e:1:167535

---

<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:** [September 15, 2022, 8:59am UTC](https://devforum.zoom.us/t/webglcontextlostprotect/74261/2 "2022-09-15T08:59:07Z")

</div>

Closed on September 15, 2022, 8:59am UTC

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