# Autoplay when page loads with Original HTML5 player

**URL:** <https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684>\
**Category:** Wowza Player\
**Created:** [August 10, 2021, 4:27pm UTC](https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684 "2021-08-10T16:27:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Lynam](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@Sam\_Lynam](https://community.wowza.com/u/Sam_Lynam)\
**Post date:** [August 10, 2021, 4:27pm UTC](https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684/1 "2021-08-10T16:27:57Z")

</div>

Hi,

Im streaming to a wowza endpoint and creating playback using “Original HTML5 player” I would like to embed this on a website and have it so that it autoplays when the page loads.  
What code do I need to do this?

thanks  
Sam

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 10, 2021, 6:37pm UTC](https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684/2 "2021-08-10T18:37:28Z")

</div>

Hi Sam!

Chrome browsers do not allow **autoplay** in most cases. However, muted **autoplay** is always allowed.

There is a boolean value you can change, but just know it may autoplay with no audio, This was a change made in the industry and with HTML5 and not Wowza.

Take a peek at this option for what options exist for you, but know these are not official Wowza recommendations or code samples that we would officially support.This would be on your own.

Hope it helps!

> **[นโยบายการเล่นอัตโนมัติใน Chrome  |  Blog  |  Chrome for...](https://developer.chrome.com/blog/autoplay?hl=th)**
>
> ดูแนวทางปฏิบัติแนะนำสำหรับประสบการณ์ของผู้ใช้ที่ดีด้วยนโยบายการเล่นอัตโนมัติแบบใหม่ใน Chrome

---

<div class="post-metadata">

**Author:** ![Sam\_Lynam](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@Sam\_Lynam](https://community.wowza.com/u/Sam_Lynam)\
**Post date:** [August 11, 2021, 11:04am UTC](https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684/3 "2021-08-11T11:04:49Z")

</div>

Hi Rose,

no problem if its muted.

how would I add this to a Wowza embed code?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 11, 2021, 4:02pm UTC](https://community.wowza.com/t/autoplay-when-page-loads-with-original-html5-player/93684/4 "2021-08-11T16:02:15Z")

</div>

I think you would need to look at the HTML5 code. We don’t offer the Wowza player anymore unfortunately.

I do believe though you would just add this though

“autoPlay”:true,
