# How to get my embed to auto play

**URL:** <https://community.wowza.com/t/how-to-get-my-embed-to-auto-play/49351>\
**Category:** Wowza Streaming Engine\
**Tags:** encoder\
**Created:** [August 3, 2017, 8:14pm UTC](https://community.wowza.com/t/how-to-get-my-embed-to-auto-play/49351 "2017-08-03T20:14:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Beck](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@Scott\_Beck](https://community.wowza.com/u/Scott_Beck)\
**Post date:** [August 3, 2017, 8:14pm UTC](https://community.wowza.com/t/how-to-get-my-embed-to-auto-play/49351/1 "2017-08-03T20:14:31Z")

</div>

below is my my script for embed…i didn’t see an auto start function to add in the set up process. Is there one? If not… what can I add tomake my live stream auto play?

---

<div class="post-metadata">

**Author:** ![Rafael\_Almeida](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@Rafael\_Almeida](https://community.wowza.com/u/Rafael_Almeida)\
**Post date:** [August 9, 2017, 2:06pm UTC](https://community.wowza.com/t/how-to-get-my-embed-to-auto-play/49351/2 "2017-08-09T14:06:19Z")

</div>

Looks like your script has been dropped from your post. Forget to wrap it in a formatted code block?

If you’re using the Wowza HTML5 player, add the below line to your javascript element…

```auto
"autoPlay":true,

```

---

<div class="post-metadata">

**Author:** ![Max\_Armstrong](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Max\_Armstrong](https://community.wowza.com/u/Max_Armstrong)\
**Post date:** [September 25, 2020, 5:56pm UTC](https://community.wowza.com/t/how-to-get-my-embed-to-auto-play/49351/3 "2020-09-25T17:56:05Z")

</div>

Hey Rafael could you please post an example of the embed code with the auto play true in it, I can’t for the life of me get it to work…

thanks so much!

Max
