Skip to content

Instantly share code, notes, and snippets.

@nebadon2025
Last active May 11, 2024 07:03
Show Gist options
  • Save nebadon2025/3143d837350ab443482b0f5a6faccd6b to your computer and use it in GitHub Desktop.
Save nebadon2025/3143d837350ab443482b0f5a6faccd6b to your computer and use it in GitHub Desktop.
Full Screen Youtube Autoplay URL format
https://www.youtube.com/embed/HH0zOJVOzxs?rel=0&autoplay=1;fs=0;autohide=0;hd=0;mute=1;
@nebadon2025
Copy link
Author

Thanks, I added it in!

@reb00ter
Copy link

just checked - works fine without mute=1

@jaraics
Copy link

jaraics commented May 11, 2024

@reb00ter autoplay with sound is not guaranteed to work. Some browsers have an autoplay policy to prevent spamming users with media. Basically it states that muted video can always autoplay, and the user can choose to unmute it by clicking on it. Autoplay with sound only works if the user has already engaged with the site before.
For more details check out Autoplay policy in Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment