Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Getting Youtube and Vimeo Images for your Thumbnails 

...

YouTube

Youtube videos have several static images that represent it.

...

http://img.youtube.com/vi/KaOC9danxNo/0.jpg


Vimeo

For Vimeo it's a little bit trickier.

...

You can pull this xml document:

https://vimeo.com/api/v2/video/175266909.xml

You Or, you can get the data returned as JSON as well.:

https://vimeo.com/api/v2/video/175266909.json

...

Pulling the largest thumbnail from the XML XML:

<thumbnail_large>https://i.vimeocdn.com/video/582362777_640.webp</thumbnail_large>

...

Just changing the extension will load other formats.:

https://i.vimeocdn.com/video/582362777_640.jpg

...