Comments (3)
Hi @billtomczak
Thanks for the info. I already knew about Hulu and Twitch. I just comitted a new update where I cleaned a little the provider list.
However, Meetup seems to be working on my end. The html response is not an Iframe, but raw html. Take this oembed response for example: https://api.meetup.com/oembed?format=json&url=https://www.meetup.com/kubernetes-Bogota-Group/events/274276177
Sketchfab is also working for me: https://sketchfab.com/oembed?format=json&url=https://sketchfab.com/3d-models/gothic-building-for-aria-pack-10-4c00c5e9a9a14388bd58ab9f87f0637b
The thing with Sketchfab is that you need the direct link in order to embed it. You get it from the address bar of your browser.
And Finally, Wordpress, I need to think about it, since it technically works, but someone has a Blog on the wordpress.com plataform and is using a custom domain, the provider is not going to work. The user has to extend the wordpress provider and add it's own host and register it on the ProviderCollection and then inject it into Embera... That seems a little too complicated for something that should be simple..
Perhaps adding a new method like Wordpress::registerHost('rarasaur.com');
could query the service as in: https://public-api.wordpress.com/oembed/?url=https://rarasaur.com/2020/08/01/g2-how-to-heal/&for=embera
from embera.
Yeah, I just pushed a new update that allows adding new hosts to a single provider on the fly. By doing this, the wordpress provider allows stuff like this.
use Embera\Embera;
use Embera\Provider\Wordpress;
Wordpress::addHost('rarasaur.com');
$embera = new Embera();
echo $embera->autoEmbed('https://rarasaur.com/2020/08/01/g2-how-to-heal/');
Since I'm looking into a new way to generate automatically the provider documentation, I'll be adding This info once I'ts done.
from embera.
Thanks Michael;
I can confirm the meetup link works. Guess I just didn't have a meetup page that could be accessed via oembed.
Using the link you provided for Sketchfab still doesn't work for me. Gives me a 404 not found response
I'll look into the Wordpress update. That would definitely make that provider more useful.
from embera.
Related Issues (20)
- iFrame `frameborder` attribute is deprecated in HTLM5 HOT 1
- Add an option for iframe lazyloading HOT 1
- Spotify artist link not working
- Allow hidden vi HOT 1
- Silk defunct HOT 1
- Playbuzz implementation is incomplete HOT 1
- youtube rel=0 ? HOT 1
- How about dropping support php version prior to 7.2? HOT 3
- Allowing CKEditor5 code HOT 3
- Argument 2 passed to Embera\Http\OembedClient::__construct() must be an instance of Embera\Http\HttpClient, instance of Embera\Http\HttpClientCache given HOT 3
- Added Wordwall provider HOT 3
- Custom Provider Parameters HOT 6
- Get video_id from Youtube URL HOT 3
- Facebook is problematic HOT 4
- Instagram oEmbed is deprecated HOT 1
- Support custom request headers HOT 2
- Vimeo private video links HOT 1
- Imgur not embedded? HOT 1
- Twitter embeds don't work on production HOT 5
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 embera.