# Sample web app (local version) can't speak in a webinar

**URL:** <https://devforum.zoom.us/t/sample-web-app-local-version-cant-speak-in-a-webinar/5769>\
**Category:** Web\
**Created:** [September 4, 2019, 3:34am UTC](https://devforum.zoom.us/t/sample-web-app-local-version-cant-speak-in-a-webinar/5769 "2019-09-04T03:34:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.chen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/john.chen/32/1726_2.png) [@john.chen](https://devforum.zoom.us/u/john.chen)\
**Post date:** [September 4, 2019, 3:34am UTC](https://devforum.zoom.us/t/sample-web-app-local-version-cant-speak-in-a-webinar/5769/1 "2019-09-04T03:34:13Z")

</div>

**Description/Error**  
sample web app (local version) can’t speak in a webinar

**Which Endpoint/s or Web JS SDK?**  
[sample web app](https://github.com/zoom/sample-app-web.git) (local version)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. git clone and start sample web app (local version)
2. start a webinar
3. use sample web app to join the webinar
4. use sample web app to raise hand
5. a warning shows when the host allow sample web app speak  
 ![23](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/123d27860c3297165fce4568e43ebe6fabbc04e8.png)
6. press yes, sample web app will exit forcibly
7. sample web app return and raise hand again, just repeat the same loop

**Additional context**  
I tried to change default role to 1 or 2, then can’t join webinar  
const meetConfig = {  
apiKey: API\_KEY,  
apiSecret: API\_SECRET,  
meetingNumber: parseInt(document.getElementById(‘meeting\_number’).value, 10),  
userName: document.getElementById(‘display\_name’).value,  
passWord: ‘’,  
leaveUrl: ‘[https://0.0.0.0:9999](https://0.0.0.0:9999)’,  
role: 0  
};

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 4, 2019, 4:51am UTC](https://devforum.zoom.us/t/sample-web-app-local-version-cant-speak-in-a-webinar/5769/2 "2019-09-04T04:51:25Z")

</div>

Hi @john.chen,

Were you trying to join a webinar as a host? If so, then currently, the WebSDK only supports joining the webinar as an attendee and not a host[1]. We are currently working features to join a webinar as a host and will notify our developer community when it’s released[2].

1 - [https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/join-a-webinar](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/join-a-webinar)  
2 - [https://marketplace.zoom.us/docs/changelog](https://marketplace.zoom.us/docs/changelog)

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:41pm UTC](https://devforum.zoom.us/t/sample-web-app-local-version-cant-speak-in-a-webinar/5769/3 "2020-08-21T18:41:05Z")

</div>

Closed on August 21, 2020, 6:41pm UTC


