Comments (4)
Image-only sites should return photo
type in oembed endpoint. You can check it on Imgur images or, say, 500px, for example.
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 &iframe=1
, the preference will be given to more simple types: photos and plain videos.
We'll think and perhaps give an iframe option to open source version as well.
from iframely.
Thanks,
Truly appreciate if you could help.
from iframely.
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 html
field, if Iframely has any.
from iframely.
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,
Manik Mittal
from iframely.
Related Issues (20)
- iFramely 1.6.1 - no reconnect to Redis or blocking request HOT 5
- Missing meta description, site, author and date HOT 2
- Any hints or beginner guide about how to get more information? HOT 1
- Twitter embeds cut off at the bottom HOT 2
- Spotify Video podcast do not have the right aspect ratio HOT 1
- Missing attributes for Spotify embeds HOT 2
- Batch querying by content IDs does not work HOT 1
- Facebook public posts redirect to facebook.com/login HOT 4
- Intermittent issues with Google share links HOT 4
- Inspect Network Calls HOT 1
- AWS cli for pushing build image
- New Tumblr embeds HOT 2
- Issue with a long html page without javascripts. HOT 2
- remove racially loaded terms from the website HOT 1
- Core plugins tests are failing in Node 18 HOT 5
- Better aspect ratio for Loom embeds HOT 1
- Tweet with media are failing in self hosted version HOT 3
- Tweet with media are failing in self hosted version HOT 1
- Tweet with media are failing in self hosted version HOT 1
- Self-hosted, instagram embed, redirect loop. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iframely.