Vimeo like restriction for serving videos to certain domains
-
Hello,
I currently use Vimeo PRO for hosting large videos of my Moodle courses, however I would like to know if I could replicate the domain restriction for serving videos with Peertube or any other of the tools available at Cloudron. -
@alejandrolengua I guess you are referring to embedding videos using an iframe and want to restrict which domains it can be embedded in?
-
This can be done via ContentSecurityPolicy and Cloudron supports this for all apps: https://cloudron.io/documentation/apps/#custom-csp