How to Change or Add Youtube Video Iframe front Picture

Hello all today i will tell you “How to Change or Add Youtube Video Iframe front Picture”. many time we need to add youtube iframe video into site, and that time we reliase that we need to change iframe front picture so that user can see custom picture in front of iframe before running the video.

this is really easy to add this you just need to make picture size accourding to youtube iframe and put into iframe using coding.example below –

above code you can see that we put iframe into div and add picture or frame in front of youtube video which overlay the video.

if you want to auto play the video whenever the site load than you can do it easily by adding below code –

above code you can see that we put the “?autoplay=0” after youtube video path which help to video for auto-play. for more about youtube iframe video enhance you can see post – “Autoplay, Mute and Hide Elements in Youtube Iframe