# Unable to start screen share on Firefox 104

**URL:** <https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [August 26, 2022, 7:47pm UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974 "2022-08-26T19:47:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle.wrenn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kyle.wrenn/32/37444_2.png) [@kyle.wrenn](https://devforum.zoom.us/u/kyle.wrenn)\
**Post date:** [August 26, 2022, 7:47pm UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974/1 "2022-08-26T19:47:45Z")

</div>

**Description**  
When starting a screen share in Firefox, I’m never prompted to select a screen. There are console warnings from the console, but the connection is never made.  
Apparently I’m able to join the session, but the screen share fails to initiate. (this works in 1.2.7).

I’m never prompted to select a screen or window to share. The console prints a message that says it was denied as if I’m hitting cancel.

**Browser Console Error**  
`unreachable code after return statement`  
`Error deleting database`  
`Ready to dec video!`  
`video handle is not ready!`  
`{"type":"INVALID_OPERATION","reason":"user deny screen share"}`

**Which Web Video SDK version?**  
1.4.0

**Video SDK Code Snippets**  
This code itself isn’t failing, but this is where the call is happening:

```auto
          this.stream
            .startShareScreen(document.querySelector('#screen-share-canvas'))
            .then(() => {
              this.sessionStore.setActiveShare(true);
            })
            .catch((e) => {
              this.logger.debug(`Canceling share ${JSON.stringify(e)}`);
            });

```

**Screenshots**

**Device (please complete the following information):**

- Device: 2019 MacBook Pro
- OS: macOS 12.4
- Browser: Firefox
- Browser Version: 104.0

---

<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:** [August 27, 2022, 1:11am UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974/2 "2022-08-27T01:11:25Z")

</div>

Hey @kyle.wrenn

Thanks for your feedback.

Could you check whether the “System Preference” → “Security & Privacy” → “Privacy” tab → “Screen Recording” added the Firefox?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![kyle.wrenn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kyle.wrenn/32/37444_2.png) [@kyle.wrenn](https://devforum.zoom.us/u/kyle.wrenn)\
**Post date:** [August 29, 2022, 5:23pm UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974/4 "2022-08-29T17:23:57Z")

</div>

Yep, Firefox is enabled for screen recording. I’m not sure if it’s a networking issue or not now. I’ve downgraded to 1.2.7 and was able to initiate it a share locally, but in a non-local environment I’m having trouble again.

---

<div class="post-metadata">

**Author:** ![kyle.wrenn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kyle.wrenn/32/37444_2.png) [@kyle.wrenn](https://devforum.zoom.us/u/kyle.wrenn)\
**Post date:** [September 2, 2022, 7:25pm UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974/5 "2022-09-02T19:25:59Z")

</div>

I had to dig around a bit, but I found the reason the popup wasn’t appearing when trying to start the share.  
This post about [user deny screen share](https://devforum.zoom.us/t/getting-invalid-operation-reason-user-deny-screen-share-on-starting-screenshare-on-firefox/63180/11) is what ultimately wound up being the solution.  
I didn’t realize that there had to be a gesture associated with the screen share whereas Chrome allows you to init, join, and start share all in sequence without any human intervention.

So basically,

- Init and join session
- display a button to trigger the share
- start share on click of the ‘Share’ button

---

<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:** [October 3, 2022, 5:26am UTC](https://devforum.zoom.us/t/unable-to-start-screen-share-on-firefox-104/74974/6 "2022-10-03T05:26:25Z")

</div>

Closed on October 3, 2022, 5:26am UTC

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