Video is not available... Embedded is previous playlist.
You can let your video start playing automatically when a user visits the page, by adding autoplay=1
to the YouTube URL. However, automatically starting a video is annoying for your visitors!
Note: Chromium browsers do not allow autoplay in most cases. However, muted autoplay is always allowed.
Add mute=1
after autoplay=1
to let your video start playing automatically (but muted).
<!DOCTYPE html>
<html>
<body>
<h2>YouTube Autoplay + Mute</h2>
<iframe width="420" height="345" src="https://www.youtube.com/embed/3lOjNDvVeZA?autoplay=1&mute=1">
</iframe>
</body>
</html>