Page 1 of 1

[Plugin] Thumbnail in Youtube RSS

Posted: 21 May 2016, 16:09
by blackdragon1
Hi there just wanted to share a plugin based on "youtube embed" but instead of embedding it shows the thumbnail just like when you go to your youtube subscriptions.

Small note in the loop:

Code: Select all

for ($x = 0; $x <= 0; $x++)

You can do this:

Code: Select all

for ($x = 0; $x <= 3; $x++)

And it shows 3 screenshots of the video. I don't really care for those, so it's not there.

The URL used on the plugin came from this answer:
http://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api

Bye.