-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type for image sites #57
Comments
Image-only sites should return However, if domains have other embed types, the APIs will give preferences to those. Instagram has status embeds, Flickr has slideshows. Pinterest has only app-like status embeds. Hence, the preference in oEmbed endpoint. oEmbed is a little limited as a format as it only allows one embed type and we give preference to rich one. Iframely format should return all available rels. The same is true for Instagram videos - the preference is given for status embeds. In the cloud, if you request with We'll think and perhaps give an iframe option to open source version as well. |
Thanks, Truly appreciate if you could help. |
Sorry for taking so long to comment. I completely forgot we actually have your issue covered already. Just re-define OEMBED_RELS_PRIORITY in your local config file, put image first, and we will use your preference, oEmbed API will return images in |
Hi Ivan Is there a way to get the flickr photos(with thumbnail) and videos(with html code) return as type photo and video only. Right now it returns as type rich. I tried removing the apikey from config.local.js, it started showing photos as type photo and video as type rich. Also, my concern is if I remove the apikey, it should not return the rate limit issues? Regards, |
Hi,
Can we get the type for image sites like flickr, instagram, pinterest,
to show the media type like photo/video instead of type as rich
and get the thumbnail url?
The text was updated successfully, but these errors were encountered: