无需密码即可显示受密码保护的 Vimeo 视频 [英] Show password protected Vimeo video without password

查看:38
本文介绍了无需密码即可显示受密码保护的 Vimeo 视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户坚持使用不同的密码保护每个 Vimeo 视频.然而,当嵌入到他们经过身份验证的营销网站时,他们希望他们在没有密码的情况下出现.我们正在做的权宜之计是在视频播放后立即显示视频的密码.我在 API 中有密码,但我无法将其放入视频中.没有用户输入密码就没有播放视频的方法吗?

I have a client that insists on password protecting each Vimeo video with a different password. However, when embedded into their authenticated marketing site, they want them to show up without passwords. What we are doing as a stopgap is displaying password for the video right after the video. I have the password in the API but I cannot get it into the video. Is there not a way of playing the video without having the user enter the password?

我尝试过 JavaScript,但由于 iframe 跨越域边界,因此出于明显的安全原因无法完成.

I've tried JavaScript but because of the iframe this crosses domain boundaries and so can't be done for obvious security reasons.

这个问题表明有一个仅可嵌入的"选项.但我找不到.

This question on StackOverflow suggests that there is an "only embeddable" option. But I can't find it.

推荐答案

无法通过 API 或任何其他官方方法覆盖 Vimeo Player iframe 中的密码提示.

It's not possible to override the password prompt in the Vimeo Player iframe, via the API or any other official method.

不同的隐私设置可能会更好地为您的客户提供服务,例如从 vimeo.com 隐藏",这使视频只能在嵌入时播放——为了额外保护,您可以将嵌入隐私设置为仅在我的域中允许",因此视频只能在特定网站和域中嵌入播放.

Your client may be better served by a different privacy setting, like "Hide from vimeo.com" that makes the video only playable when embedded -- for extra protection, you could then set the embed privacy to "Only on domains I allow" so the video only plays embedded on specific websites and domains.

https://vimeo.zendesk.com/hc/en-us/articles/224817847-Privacy-settings-overview

这篇关于无需密码即可显示受密码保护的 Vimeo 视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆