Vimeo Embed options

OptionDefault valueDescription
id or urlNoneThe ID or the URL of the video on Vimeo. You must supply one of these values to identify the video.
autopausetrueWhether to pause the current video when another Vimeo video on the same page starts to play. Set this value to false to permit simultaneous playback of all the videos on the page.
autoplayfalseWhether to start playback of the video automatically. This feature might not work on all devices.
backgroundfalseWhether the player is in background mode, which hides the playback controls, enables autoplay, and loops the video.
bylinetrueWhether to display the video owner’s name.
colorNoneThe hexadecimal color value of the playback controls, which is normally 00ADEF. The embed settings of the video might override this value.
controlstrueThis parameter will hide all elements in the player (play bar, sharing buttons, etc) for a chromeless experience. ⚠️ Warnings: When using this parameter, the play/pause button will be hidden. To start playback for your viewers, you’ll need to either enable autoplay, use keyboard controls, or implement our player SDK to start and control playback. Note that setting this parameter will not disable keyboard controls.
heightNoneThe height of the video in pixels.
loopfalseWhether to restart the video automatically after reaching the end.
maxheightNoneThe height of the video in pixels, where the video won’t exceed its native height, no matter the value of this field.
maxwidthNoneThe width of the video in pixels, where the video won’t exceed its native width, no matter the value of this field.
mutedfalseWhether the video is muted upon loading. The true value is required for the autoplay behavior in some browsers.
playsinlinetrueWhether the video plays inline on supported mobile devices. To force the device to play the video in fullscreen mode instead, set this value to false.
portraittrueWhether to display the video owner’s portrait.
speedfalseWhether the player displays speed controls in the preferences menu and enables the playback rate API.
titletrueWhether the player displays the title overlay.
transparenttrueWhether the responsive player and transparent background are enabled.
widthNoneThe width of the video in pixels.

https://developer.vimeo.com/player/sdk/embed

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值