Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
973 views
in Technique[技术] by (71.8m points)

api - WIth Vimeo Plus account, how to hide/remove the "play" button in the middle of an embedded video?

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:

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

  1. All player toggles and elements will be turned off (including the play/pause button!)
  2. The video will automatically loop.
  3. The video will be set to autoplay.
  4. 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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...