Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
749 views
in Technique[技术] by (71.8m points)

api - Video Posts with Auto Thumbnail(Like in Facebook) in Tumblr.com

I'd like to find out how Tumblr retrieves video thumbnails.

Normal video posts (not using API) when viewed from the dashboard or /tagged/ filters, some sites's video shows thumbnails, some doesn't show up.

Works for http://www.youtube.com and http://www.vimeo.com.

However, http://www.ted.com and http://www.slideshare.net thumbnails doesn't show up.

I was wondering if any of the Tumblr devs can enlighten me on the process how and where they get the thumbnail data from. Is there a general method for retrieval that by that I can conform a document structure to?

It would also be great if the API allows you to set thumbnail url too, sort of like facebook's opengraph image meta data.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Tumblr Video Thumbnails

My understanding of {VideoThumbnailURL} is as follows:

This variable will include any related thumbnails to a video, served directly from the provider of the video.

Tumblr itself isn't generating the thumbnails. Below is the returned URL from a test, using {VideoThumbnailURL} and the video: http://www.youtube.com/watch?v=i0y4G1tNb1M

http://img.youtube.com/vi/i0y4G1tNb1M/hqdefault.jpg

To answer your question, the provider of the video would have to generate the thumbnails and Tumblr would need to support / integrate these on the Dashboard.

Easy way to test if a provider is supported, create a video post and add your embed code. If the message preview not available appears, the provider doesn't support thumbnails and / or Tumblr doesn't support this provider.

Providers with Thumbnail Support

http://blip.tv/

http://www.dailymotion.com/

http://www.metacafe.com/

http://www.youtube.com

http://www.vimeo.com

Providers without Thumbnail Support

https://vine.co

http://www.ted.com

http://www.slideshare.net

http://www.veoh.com/

http://www.twitch.tv/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...