E
E
Empty User2021-05-07 16:15:18
Django
Empty User, 2021-05-07 16:15:18

How to embed a private video from Vimeo?

Good day to all! It is required to display a video on the site that is available only to registered users. All the mechanics are registered and work perfectly, but there are problems with Vimeo, in the privacy settings they indicated to show only from the domain, but when this video is displayed on the site, it says that this video is not available for viewing.

The service is written in Django, a bunch of nginx + gunicorn.

The first thing that came to my mind was the idea that there were some problems with the proxy, since nginx loads through the gounicorn socket. I decided to check by creating a regular html file that had the same embed code as on the site, but nginx already gives it directly, and everything worked here! Whether there is who faced such problem? How to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2021-05-07
@dimonchik2013

headers and redirects
and vimeo referrer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question