使用 Vimeo Plus 帐户,如何隐藏/删除“播放"嵌入视频中间的按钮? [英] WIth Vimeo Plus account, how to hide/remove the "play" button in the middle of an embedded video?
本文介绍了使用 Vimeo Plus 帐户,如何隐藏/删除“播放"嵌入视频中间的按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在搜索中,我发现 Vimeo 尚不支持它.但我想知道是否有人仍然找到了巧妙的方法?
来控制视频(暂停、播放等).
示例嵌入代码
在此处查看论坛帖子:https://vimeo.com/forums/help/topic:278001
In searching, I came across this that says Vimeo doesn't support it yet. But I was wondering if anyone has found clever ways around it still?
https://vimeo.com/forums/topic:37769
Here's an image:
解决方案
You can now remove all controls
just wanted to update anyone new looking at this.
It now appears to be possible to have an embeded video without any of the controls, by using an experimental feature: background=1
Things to note
- All player toggles and elements will be turned off (including the play/pause button!)
- The video will automatically loop.
- The video will be set to autoplay.
- The video will be muted.
you can then use the js-api to control the video (pause, play, etc).
Example Embed Code
<iframe src="https://player.vimeo.com/video/76979871?background=1"
width="500" height="281" frameborder="0" webkitallowfullscreen
mozallowfullscreen allowfullscreen>
</iframe>
See the forum post here: https://vimeo.com/forums/help/topic:278001
这篇关于使用 Vimeo Plus 帐户,如何隐藏/删除“播放"嵌入视频中间的按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文