Version: 4.x
vime-vimeo
Enables loading, playing and controlling videos from Vimeo.
You don't interact with this component for passing player properties, controlling playback, listening to player events and so on, that is all done through the
vime-player
component.
#
QuirksOnly Vimeo PRO members can set/change the playbackRate.
playbackQuality
andplaybackQualities
are not supported because there is no API for it.
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
byline | byline | Whether to display the video owner's name. | boolean | true |
color | color | The hexadecimal color value of the playback controls. The embed settings of the video might override this value. | string ∣ undefined | undefined |
noAutoAspectRatio | no-auto-aspect-ratio | Turns off automatically determining the aspect ratio of the current video. | boolean | false |
portrait | portrait | Whether to display the video owner's portrait. | boolean | true |
poster | poster | The absolute URL of a custom poster to be used for the current video. | string ∣ undefined | undefined |
videoId (required) | video-id | The Vimeo resource ID of the video to load. | string | undefined |
#
Dependencies#
Used by#
Depends on#
GraphBuilt with StencilJS