How to autoplay a YouTube video? (HTML)
I was trying to make a website to prqnk everyone(-if u run and see thumbnail, im sure you will know)
I am not able to make that video to autoplay. Is it even possible? A code provided with answer will be appreciated. Even if it is muted, i want it to autoplay...
Voters
AlexClark7
Thanks for post
InvisibleOne
I think that you need to add "&autoplay=1" to the end of your URL and allow="autoplay;"
inside your iframe.
QuantumCodes
@InvisibleOne not working... can u give a sample code? Or try it
QuestionableNS
google said: "To make an embedded video autoplay, add "&autoplay=1" to the video's embed code right after the video ID (the series of letters that follows "embed/")."
QuantumCodes
@QuestionableNS still didnt work and.. whats this name entity?
QuestionableNS
@QuantumCodes i just tested it and for some reason it does not auto play
QuantumCodes
@QuestionableNS thats the problem i have. Somewhere jt said you need to put &autoplay=1&mute=1 but that also doesnt work :( i am using %26 to remove name entity error
Hi, it's actually very easy to do, you just need to check the box in the settings where it says auto-play. If you still don't understand, I can make a video using this site which allows me to capture the screen of my mac and send it to you via PM. Let me know the answer.