# Video not rendering on canvas, throwing error: TypeError: Cannot read properties of null (reading 'getExtension')

**URL:** <https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [February 1, 2023, 10:16am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456 "2023-02-01T10:16:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [February 1, 2023, 10:16am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/1 "2023-02-01T10:16:57Z")

</div>

Video not rendering on canvas on chrome Mac, console showing this error:  
TypeError: Cannot read properties of null (reading ‘getExtension’)

* * *

**Video SDK Type and Version**  
Video SDK Type: Web  
Video SDK version: 1.6.0

**Description**  
Producing only on Mac chrome, working fine on Mac safari  
Mac OS X 10.15.7  
Chrome 109.0.0

 ![Screenshot 2023-02-01 150440](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/a/7ad6202b32e54b1458fb88ecfe51abdd3eb994fe.png)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 1, 2023, 11:35am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/2 "2023-02-01T11:35:40Z")

</div>

@arfa.ahmed Hope you will be fine.

Please verify that the rendering html element is not null.

Here is the session [ReactJS with Zoom Video SDK](https://youtu.be/t8IAvgRjpV4).

---

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [February 1, 2023, 11:41am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/3 "2023-02-01T11:41:43Z")

</div>

Thanks for reply, It is only producing on specific device  
Mac OS X 10.15.7  
Chrome 109.0.0

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [February 2, 2023, 3:59pm UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/4 "2023-02-02T15:59:04Z")

</div>

HI @arfa.ahmed ,

Could you share the code snippet of you rendering the video? Also, I see the error is only happening on Chrome. Do you get the same error when testing with the sample application in Chrome?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [February 3, 2023, 5:59am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/5 "2023-02-03T05:59:44Z")

</div>

I have followed the demo of the video SDK. It is only happening with one user’s device and only on chrome, working fine on the safari browser on the same machine. Not seen this error during the development

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [February 3, 2023, 7:05pm UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/6 "2023-02-03T19:05:25Z")

</div>

Hi @arfa.ahmed ,

Thank you for the additional details, sounds like this may be a compatibility issue with the device’s current software version and Chrome. Is the user who’s having the issues able to update their computer software?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [February 5, 2023, 4:21pm UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/7 "2023-02-05T16:21:13Z")

</div>

Yes, he updated Chrome to the latest version and also uninstalled and reinstalled Chrome, but the issue was not resolved

---

<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:** [February 6, 2023, 7:06am UTC](https://devforum.zoom.us/t/video-not-rendering-on-canvas-throwing-error-typeerror-cannot-read-properties-of-null-reading-getextension/82456/8 "2023-02-06T07:06:34Z")

</div>

Hey @arfa.ahmed

Could you try this code snippet in the Chrome dev tool console?

```javascript
const canvas = new OffscreenCanvas(1, 1);
const gl = canvas.getContext('webgl');
console.log(gl);

```

If the `gl` is null, could you help check whether the graphic card is disabled or restart the computer and try it again?

Thanks  
Vic
