问题描述
我想了解 Tumblr 如何检索视频缩略图.
从仪表板或/tagged/过滤器查看普通视频帖子(不使用 API)时,有些网站的视频会显示缩略图,有些则不显示.
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.
适用于 http://www.youtube.com 和 http://www.vimeo.com.
但是,http://www.ted.com 和 http://www.slideshare.net 缩略图不显示.
However, http://www.ted.com and http://www.slideshare.net thumbnails doesn't show up.
我想知道是否有任何 Tumblr 开发人员可以启发我了解他们如何以及从何处获取缩略图数据的过程.有没有一种通用的检索方法可以使文档结构符合?
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?
如果 API 也允许您设置缩略图 url,这也很棒,有点像 facebook 的 opengraph 图像元数据.
It would also be great if the API allows you to set thumbnail url too, sort of like facebook's opengraph image meta data.
推荐答案
嗨 mikedidthis 写得准确..
Hi mikedidthis have write accurately..
根据 tumbler 的图像缩略图 api,tumbler 不提供任何像 Facebook 那样的内置功能来检索像在 facebook 或 youtube 中的图像.
As per tumbler's image thumbnail api, tumbler do not provide any inbuilt function like facebook to retrieve images like in facebook or youtube.
请参阅此文档:
http://www.tumblr.com/docs/en/custom_themes
这篇关于Tumblr.com 中带有自动缩略图的视频帖子(就像在 Facebook 中一样)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!