stephenscaff / vimeo-playlists

A js lib using the Vimeo Player API to create a nonstop playlist of Vimeo Vids.
MIT License
16 stars 7 forks source link

Vimeo privacy question #20

Open kiahreading opened 2 years ago

kiahreading commented 2 years ago

Hi Stephen, this is more a question than an issue (because I am not sure whether it is part of the scope of the package).

I am having issues including Vimeo videos with privacy setting set to anything but "Public". If I set the video to "Hide from Vimeo", but leave the option of "Where can the video be embedded?" set to "Anywhere", the video does not appear in the front end and I am received with this error in the console:

GET https://vimeo.com/api/v2/video/230857042.json 404 (Not Found)

Does the package allow embedding videos that are exclusively set to "Public"?

Thanks a lot.

stephenscaff commented 2 years ago

Hi Kiah,

Honestly, I forgot what Vimeo’s api supports in terms of privacy settings. If I recall, Vimeo made some updates a while back that impacted the api.

You could try using the private link’s id / hash. That used to work I believe.

Or you could try the ‘Hide from Vimeo’ setting and then adding your domain in the allowed embeddable sites (maybe called Protected Domains).

I’ll do some research and get back to you.

kiahreading commented 2 years ago

Thanks a lot Stephen, that would be great.

Just to let you know, I've tested adding the allowed embeddable domain, but the problem persists.