Thumbnails from the Vimeo website harder than YouTube

落爺英雄遲暮 提交于 2019-12-23 20:09:25

问题


Our website lets people add videos by submitting a URL - usually one from YouTube or Vimeo. I'd like to show thumbnails, when giving people a list of videos.

YouTube make this easy for me - just slap "1.jpg" on the end of the URL, and you've got your image.

Vimeo seem to want me to make a HTTP request, and extract the thumbnail URL from the XML they return - what? Who's got time for that?!!! Plus, I'd have to store these URLs too, I can't get them on the fly for a page that lists 20 videos.

Is there an easier way to get Vimeo thumbnails? I can't find one...

来源:https://stackoverflow.com/questions/840765/thumbnails-from-the-vimeo-website-harder-than-youtube

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!