# ReferenceError: Can't find variable: OffscreenCanvas

**URL:** <https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263>\
**Category:** Web\
**Created:** [October 26, 2020, 6:27am UTC](https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263 "2020-10-26T06:27:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![garrettshevach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garrettshevach/32/17714_2.png) [@garrettshevach](https://devforum.zoom.us/u/garrettshevach)\
**Post date:** [October 26, 2020, 6:27am UTC](https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263/1 "2020-10-26T06:27:26Z")

</div>

**Description**  
Hello! I have the following setup:

“Alice” is running the Zoom WebSDK and connecting to “Bob”, the meeting host using a native Zoom client. Alice is able to successfully join Bob’s meeting, but when Bob tries to share his video, Alice receives the error “ReferenceError: Can’t find variable: OffscreenCanvas”. Alice is then shown a black screen. Please view the screenshots at the end for the error.

As an initial test, I attempted to instantiate a new instance of “OffscreenCanvas” from the console in the dev tools, and it was successful.

**Which version?**  
OS: Ubuntu 16  
Browser: Safari11 - AppleWebKit/605.1.15  
@zoomus/websdk version: 1.8.1

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/6/2678fe966ac8274cd23c496e7975ea2b357285cd.png)

Any help would be much appreciated!

---

<div class="post-metadata">

**Author:** ![garrettshevach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garrettshevach/32/17714_2.png) [@garrettshevach](https://devforum.zoom.us/u/garrettshevach)\
**Post date:** [October 27, 2020, 6:00am UTC](https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263/2 "2020-10-27T06:00:30Z")

</div>

While I didn’t figure out this specific problem, I saw in the Zoom code that it does it’s own polyfill of sorts for OffscreenCanvas, so I deleted my browser’s version of it from the window and then it worked fine.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 29, 2020, 6:57am UTC](https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263/3 "2020-10-29T06:57:40Z")

</div>

Happy to hear you got it sorted out! 🙂

Did you still have an additional issue you want us to look into?

Thanks,  
Tommy

---

<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:** [November 28, 2020, 4:57pm UTC](https://devforum.zoom.us/t/referenceerror-cant-find-variable-offscreencanvas/34263/4 "2020-11-28T16:57:41Z")

</div>

Closed on November 28, 2020, 4:57pm UTC

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