Autoplay youtube video while clicking on a custom thumbnail image


/ Published in: jQuery
Save to your folder(s)

The thumbnails of Youtube videos are generally low in quality. Sometimes, the thumbnail is not enough to get the people attention. Here is a small code I have written that works as follows.

A custom thumbnail is displayed at the size of 560px width and 615px height. When the user clicks on it, the image fade outs. Yes it will get animated as fade out. We use jQuery fadeout function for it. After that the video gets displayed.

URL: http://blog.pixelthemes.com/ideas/autoplay-youtube-video-while-clicking-on-a-custom-thumbnail-image

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.