Skip to content

Embedding domain-level restricted videos from vimeo issue #377

@marumehrts

Description

@marumehrts

Hi!
Turns out, when a video is set to allow embedding on certain domains, the API returns 404. Which got us blocked, but taht was solved.
Now we are trying to embed according this short documentation https://developer.vimeo.com/api/oembed/videos#embedding-videos-with-domain-privacy
We're setting the CURLOPT_HTTPREFERER with the domain from the whitelisted domains in Vimeo, also the headers with referer, but still returns 404. If we try the same in linux terminal, we get the correct response with video info. Any ideas on why this could be happening? is there somewhere on this library which resets the headers/referer?

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