AUTOPLAY VIDEO
You can have an embedded video from YouTube on your website play automatically when a visitor gets on your page by just adding a simple parameter to the embedded URL.
Embedded videos which have autoplay enabled will not increase the number of views. Also, be careful when deciding where to autoplay your videos. Auto Played videos sometimes tend to distract and annoy the user and end up causing more harm than good.
STEP 1 - Log in your ''BLOGGER'' account and Go to your ''BLOGGER DASHBOARD''
STEP 2 - Go to your ''LAYOUT'' tab
STEP 3 - Click on ''ADD GADGET'' then select ''HTML/JAVASCRIPT'' widget
STEP 4 - Now ''COPY'' the below code and ''PASTE'' it in ''HTML/JAVASCRIPT'' gadget
<iframe width="420" height="315"
src="https://www.youtube.com/embed/Wz9CvjUV2w8?autoplay=1">
</iframe>
OR
<div class="videoWrapper">
<!-- Copy & Pasted from YouTube -->
<iframe width="560" height="349" src="https://www.youtube.com/embed/Wz9CvjUV2w8?autoplay=1">
frameborder="0" allowfullscreen></iframe>
</div>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
. - VIDEO LINK ADDRESS
STEP 5 - Now simply hit the ''SAVE'' template button
0 Comments:
Post a Comment