# YouTube video will not autoplay

**URL:** <https://forums.realmacsoftware.com/t/youtube-video-will-not-autoplay/43739>\
**Category:** RapidWeaver Classic\
**Created:** [July 16, 2024, 1:09pm UTC](https://forums.realmacsoftware.com/t/youtube-video-will-not-autoplay/43739 "2024-07-16T13:09:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AstraeaMarketing](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/astraeamarketing/32/26251_2.png) [@AstraeaMarketing](https://forums.realmacsoftware.com/u/AstraeaMarketing)\
**Post date:** [July 16, 2024, 1:09pm UTC](https://forums.realmacsoftware.com/t/youtube-video-will-not-autoplay/43739/1 "2024-07-16T13:09:01Z")

</div>

Hello all. I have a client site that has a YouTube video on a page and my client wants it to AutoPlay. It does so when I preview the page in RW, but after uploading and viewing in Safari and Chrome, it does not autoplay. I have tried several YouTube stacks including the included Video stack in Foundry 3, uTube, and YouTube stacks. All are set to Autoplay in the stack settings, and none of them autoplay.

I have also tried adding ?autoplay=1 to the video ID, and embedding the video using the HTML Embed code from YouTube for the video. Here is the page in question:

[https://systemsprotection.com/products/function/abrasion-mechanical.html](https://systemsprotection.com/products/function/abrasion-mechanical.html)

Any insights would be appreciated.

---

<div class="post-metadata">

**Author:** ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)\
**Post date:** [July 16, 2024, 2:36pm UTC](https://forums.realmacsoftware.com/t/youtube-video-will-not-autoplay/43739/2 "2024-07-16T14:36:46Z")

</div>

@AstraeaMarketing Hi, I see three possible reasons :

- height and width don’t have value (height=" " width=" " could deactivate autoplay)
- security and confidentiality rules of the browser (is autoplay allowed ?)
- Third-party cookies must sometimes be accepted for the autoplay of YouTube videos to work.  
Hope that helps. 🤞

---

<div class="post-metadata">

**Author:** ![AstraeaMarketing](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/astraeamarketing/32/26251_2.png) [@AstraeaMarketing](https://forums.realmacsoftware.com/u/AstraeaMarketing)\
**Post date:** [July 16, 2024, 3:19pm UTC](https://forums.realmacsoftware.com/t/youtube-video-will-not-autoplay/43739/3 "2024-07-16T15:19:27Z")

</div>

Thanks, Bruno! Will try making those changes. Appreciate your time!
