[Plugin] Thumbnail in Youtube RSS

Post plugins and custom CSS snippets here
blackdragon1
Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 24 Oct 2013, 12:30

[Plugin] Thumbnail in Youtube RSS

Postby blackdragon1 » 21 May 2016, 16:09

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.
Attachments
me_youtube_thumbnail.rar
Unzip to ttrss plugin foder
(659 Bytes) Downloaded 83 times

Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 2 guests