Skip to content

Document vs Oembed / Instagram blocked #357

@reflexxion

Description

@reflexxion

Hi,

I'm using v4 for resolving our embeds.
Mainly (probably only) we are using embeds which does provide an oembed endpoint.
So we've a big overhead by first getting the main document of that "url".

https://github.com/oscarotero/Embed/blob/master/src/Embed.php#L23-L24

I think it'll be a big benefit to first check if that url does provide an oembed endpoint (detectEndpointFromProviders) and if so to only query that specific api endpoint.

Is there any build in way that I'm missing?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions