Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

video file blocked by CORS policy #2

@tiagovignatti

Description

@tiagovignatti

Both album.html and two-and-a-half-d.html are not working at the moment due CORS policy. These examples are trying to fetch media file URL directly from another host CDN and generating the following error:

image

Steps to reproduce the behavior:

  1. Go to https://vimeo-threejs-player.glitch.me/two-and-a-half-d
  2. Open Chrome DevTools console
  3. See the error

Other examples using Adaptive and Dash playback (i.e. downloading .m4s media parts) work just fine. I noticed that the sample server.js tries to circumvent CORS by injecting some headers foo but that's not working out.

I'm wondering whether this is somehow related to the fact of readme saying "Streaming Vimeo videos requires video file access via the Vimeo API. Accessing video files is limited to Vimeo Pro and Business customers"? Any kind of help is very welcome! Thanks.

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