# Web sdk - Connecting the user with computer audio automatically when joining

**URL:** <https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682>\
**Category:** Web\
**Created:** [December 8, 2018, 7:04pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682 "2018-12-08T19:04:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [August 20, 2019, 7:50pm UTC](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682/6 "2019-08-20T19:50:07Z")

</div>

Hey @wongpang827,

As of now we do not have that feature on the Web SDK.

Although, as a work around, you could use the Join Meeting via Web Client URL, and pass in the `prefer=1` query param to automatically join a meeting with computer audio. If you want to also pass in a default name for the user joining, use the `un=base64EncodeName` query param.

Here is an example:

`https://zoom.us/wc/{{ MeetingID }}/join?prefer=1&un=dG9tbXk=`

You can then embed this in an iFrame on your site to mirror the Web SDK functionality:

```auto
<iframe src="https://zoom.us/wc/{{ MeetingID }}/join?prefer=1&un=dG9tbXk=" width="1000" height="500" sandbox="allow-same-origin allow-forms allow-scripts" allow="microphone; camera"></iframe>

```

Here is a demo of how it looks:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8463d43de4b4409d93aef8208b2fe27e4c7746ef.gif)

Let me know if this helps!

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/web-sdk-connecting-the-user-with-computer-audio-automatically-when-joining/2682)._
