soulim / oembed Goto Github PK
View Code? Open in Web Editor NEWA slim library to work with oEmbed format.
Home Page: http://sul.im/oembed
License: MIT License
A slim library to work with oEmbed format.
Home Page: http://sul.im/oembed
License: MIT License
Hi @soulim :)
I'm using oembed for my project but I noticed that when I want to grab the thumbnail url for Soundcloud it returns a http image so whenever the image loads on my website in the log it says mixed content and that the image should also be served over HTTPS. Is there a way to fix this?
Thanks!
Christle
I suggest you change the docs so that all the classes are in the form:
TwitterApi
YoutubeApi
Using the raw name of the service clashes with some gems! Happy to do this for you and submit a PR.
Hi @soulim! Thanks for the library, it looks great!
I had a question pertaining to my use-case which I couldn't find doc or example for. If I am looking to builder a oEmbed client that can fetch oEmbed for multiple providers, do I have to create separate classes with their endpoint_url
methods? Or is there a way to pass multiple providers and have the library use that to fetch oembed data?
Thank you for open-sourcing this!
Facebook oEmbed returns content-type:text/javascript; charset=UTF-8 So parse is not able to parse response.
FB oEmbed Link
https://developers.facebook.com/docs/plugins/oembed-endpoints
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.