How to autoplay an embedded youtube video

Category : Design tips and tricks May 6, 2014

Once you have embedded a youtube video into your webpage you may wish to allow the autoplay facility, especially if it is a welcome video or a sales video. This is very easy to achieve. Simply copy this code: &autoplay=1 and paste it in straight away after rel=0 in the youtube embed code with no gaps. It will now automatically start playing when the page opens, perfect for important videos.