-
-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
I think it would be a great addition if there would be an option to fetch OEmbed information only. At the moment, there will be a call to the original URL and then when a value of \Embed\OEmbed
is accessed, there will be a new HTTP call to fetch the JSON document.
At the moment the only workaround I could find is to do the following:
$url = 'https://www.youtube.com/watch?v=jNQXAC9IVRw';
new OEmbed(new Extractor(new Uri($url), $factory->createRequest("GET", $url), $factory->createResponse(), new Crawler()))
The main problem I think is the coupling with \Embed\Extractor
.
If this is something that not planned, that's not a problem.
Metadata
Metadata
Assignees
Labels
No labels