Version: 5.x
vm-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.
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Description | Type | Default |
---|---|---|---|
byline | Whether to display the video owner's name. | boolean | true |
color | The hexadecimal color value of the playback controls. The embed settings of the video might override this value. | string ∣ undefined | undefined |
cookies | Whether cookies should be enabled on the embed. | boolean | true |
noAutoAspectRatio | Turns off automatically determining the aspect ratio of the current video. | boolean | false |
portrait | Whether to display the video owner's portrait. | boolean | true |
poster | The absolute URL of a custom poster to be used for the current video. | string ∣ undefined | undefined |
videoId (required) | The Vimeo resource ID of the video to load. | string | undefined |
#
EventsEvent | Description | Type |
---|---|---|
vmError | Emitted when an error has occurred. | CustomEvent<any> |