# Video autoplay fail (intermittent issue)

**URL:** <https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358>\
**Category:** Web\
**Created:** [June 25, 2020, 3:03pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358 "2020-06-25T15:03:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rain-digital](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@rain-digital](https://devforum.zoom.us/u/rain-digital)\
**Post date:** [June 25, 2020, 3:03pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/1 "2020-06-25T15:03:35Z")

</div>

**Description**

2 instances:

1. [Sample app](https://github.com/zoom/sample-app-web) with no alterations (only configured with API key and secret) - I use no password for the webinars, only ID
2. Sample app above’s integration in a WordPress website (https, no mixed content)

Both instances sometimes fail to load conference video until I screenshare from the zoom app that hosts the webinar (so, sometimes no video in browser until I screenshare).

**Error**  
No error message in console

**Which version?**  
1.7.8

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

1. Go to ‘[https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)’
2. Clone or download repo as a zip
3. Configure either local or CDN implementation
4. Open index.html from either local or CDN folder in browser
5. Enter ID of webinar in appropriate field of index.html in browser
6. Sometimes there will be no video in browser window until you screenshare in the zoom app

**Screenshots**  
No screenshots applicable.

**Smartphone (please complete the following information):**  
Not applicable

**Additional context**

- Cause of issue unknown
- Issue also present for meetings
- Users join the webinar and I can see them in the zoom app from which I’m hosting. QA, raise hand and chat also work, video autoplay intermittent failure is the only issue.

---

<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:** [June 26, 2020, 5:31pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/2 "2020-06-26T17:31:17Z")

</div>

Hey @rain-digital,

This black screen issue should be fixed in 1.7.9. the upcoming release currently slated for this weekend:

> **[Web SDK - Upcoming Changes - Stay Up To Date - Documentation](https://marketplace.zoom.us/docs/guides/stay-up-to-date/upcoming-changes/web-sdk)**
>
> Web SDK
> 
> Tentatively scheduled for June 28th 2020 @v1.7.9
> 
> Additions
> 
> New Rate limit for joining meetings and webinars.
> 
> Added recaptcha feature for joi...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rain-digital](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@rain-digital](https://devforum.zoom.us/u/rain-digital)\
**Post date:** [June 29, 2020, 10:21am UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/3 "2020-06-29T10:21:09Z")

</div>

Hello!

Instance: WordPress website

1. Web sdk version 1.7.8 was integrated and worked fine, except the no video in browser until host screen shares issue
2. Updated to 1.7.9 via `npm i @zoomus/websdk` and update reflected in package.json
3. Issue mentioned at first point in this comment persists

Please let me know if more info required or if I am doing something wrong.

P.S.: In the [sample app](https://github.com/zoom/sample-app-web) I noticed you split index.js into index.js and meeting.js, should I do anything different in the the above mentioned WordPress integration because of this?

---

<div class="post-metadata">

**Author:** ![qun](https://avatars.discourse-cdn.com/v4/letter/q/f1d935/32.png) [@qun](https://devforum.zoom.us/u/qun)\
**Post date:** [June 29, 2020, 8:27pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/4 "2020-06-29T20:27:24Z")

</div>

I’m also still seeing the same issue after upgrading to v1.7.9, are there changes needed in the way to use the web sdk to make this work?

---

<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:** [June 30, 2020, 8:45pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/5 "2020-06-30T20:45:21Z")

</div>

Hey @qun, @rain-digital,

Are you serving your site over `https`? If not, sometimes the browser will not allow you to access your camera and mic for the Web SDK.

Some of the sample app logic was changed, but using the Web SDK itself remains the same:

> **[Integrate SDK - Getting Started - Web - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate)**
>
> Integrate SDK
> 
> The Web SDK can be imported locally into an existing Node.js app through an npm package, or into any HTML5 project through a CDN (content...

> **[@zoomus/websdk](https://www.npmjs.com/package/@zoomus/websdk)**
>
> Zoom Web SDK

Thanks,  
Tommy

---

<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, 10:31pm UTC](https://devforum.zoom.us/t/video-autoplay-fail-intermittent-issue/22358/6 "2020-08-21T22:31:03Z")

</div>

Closed on August 21, 2020, 10:31pm UTC


