Comments (5)
There is no option to request only ssl players. Iframely will return everything it got and you'll need to filter out.
With domain plugins, we try to output //
where both http and https are available. If it's https only, it'll start with https://
.
The generic parsers, backed by our whitelist file (where we manually QA domains), will also have ssl
in rel
s array to confirm that this is the site has valid ssl certificate.
from iframely.
Awesome, thanks for the quick info!
from iframely.
Actually, another thought. If you'd be using iframely.js
client wrapper, there are helper methods to filter links out there. You may take a look how we filter https ourselves in Iframely for Gmail Chrome ext.
var player = $.iframely.filterLinksByRel(["player"], data.links, {httpsOnly: true, returnOne: true});
I'll keep this ticket open for now. We are refactoring our core in refactor
branch, and were thinking about requesting specific infos. Perhaps, we'd have good ideas on how to fit it in.
from iframely.
Ahh cool. I believe I can work with that.
In our use case, we rely heavily on chrome users in our app. We're https only, and display user curated content. As mixed content is prohibited from SSL pages, we need to limit embeds accordingly.
Yahoo video - specifically, returns only http embeds. Confirmed this with the yahoo/oembed endpoint as well. The same yahoo embed URLs are available over both http and https, but the response is always an http embed resource. Leaving it up to the consumer to assume https compatibility and switch, I guess.
Perhaps this is intended.
Working with oembed providers, I noticed that a few (google, watsia) take an ssl boolean parameter and respond accordingly. It would be useful to support this in the iframely endpoint. As not all use cases are jQuery / browser.
from iframely.
I will close this ticket here. API can't really do more than described above, and filtering links in response is still relevant.
However, we also ended up publishing support of hosted widgets in iframe.ly cloud recently. It takes care of SSL fallbacks, among others and is long waited response to this ticket too.
from iframely.
Related Issues (20)
- 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
- cannot parse medium article HOT 1
- Release Schedule HOT 2
- Allow setting configuration file path via environment variable HOT 1
- Figma app link missing in self-hosted version HOT 1
- link response header doesn't work HOT 10
- How to secure the self-hosted installation? HOT 1
- Question: Configuring the facebook application correctly HOT 2
- Displaying Public Instagram Feeds on a Website Using Self-Hosted Framely HOT 1
- YouTube Shorts / GDPR consent HOT 1
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.