Comments (2)
So, I found a way to work around this on the server side: when a requestor comes into the site with a direct link, the server can parse the string and figure out if it is a request to a client-side route that displays a sharable resource. If so, the server-side template can inject the relevant oembed links into the header.
from oembed.
For simple single page apps without a pre-render server, it'd be nice to just specify the oembed endpoint without the parameters and allow the consumer to pass along the url for the page they're requesting.
So I'm curious as well to know why it's necessary to have the requested url in the provider discovery.
from oembed.
Related Issues (20)
- Facebook garph api update to v12 HOT 2
- Add optional "license" and "license_url" parameter HOT 4
- Add test to check valid regex for providers HOT 1
- oEmbed provider for rich content without using any external tool HOT 1
- Please add bunny.net to providers.json HOT 1
- Add Mediastream as provider
- Alternative discovery mechanism HOT 3
- Provider registry contains API endpoints with patterns not described in the spec HOT 4
- How should a document with multiple authors be presented? HOT 1
- Gist or pastebin support?
- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">So cute</p>— Liz C (@LizC0520) <a href="https://twitter.com/LizC0520/status/1644973800352800774?ref_src=twsrc%5Etfw">April 9, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">So cute</p>— Liz C (@LizC0520) <a href="https://twitter.com/LizC0520/status/1644973800352800774?ref_src=twsrc%5Etfw">April 9, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- Support x.com URLs for Twitter/X
- providers-disabled/wiredrive.yml HOT 2
- http://creativecommons.org/licenses/by/4.0/
- Is not possible to embed youtube playlist using oembed HOT 1
- Cannot use short link of Flickr album HOT 2
- no cookies video HOT 3
- Can not get instagram embed link html HOT 1
- YouTube short share scheme missing
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 oembed.