不支持带有白名单域名的 Vimeo

作者: tonynguyenit18创建于 2026年2月3日更新于 2026年4月21日

当我们使用 Vimeo 并配置了白名单域名 https://help.vimeo.com/hc/en-us/articles/30030693052305-How-do-I-set-up-domain-level-privacy 时,我们会收到错误 `Sorry. Because of its privacy settings, this video cannot be played here.` <img width="471" height="305" alt="Image" src="https://GitHub.com/user-attachments/assets/eac3f83d-1711-4354-87b2-b8855a2344ad" /> 原因是我们需要将 referer-policy 配置为类似 `"strict-origin-when-cross-origin"`,但 `vimeo-video-element` 不支持此配置。

内容来源: cookpete/react-player