1.2.12 • Published 2 years ago
@dreamworld/dw-video v1.2.12
dw-video
A WebComponent to show a video thumbnail on documentation & blog sites.
Behaviours
- Currntly support only Vimeo video.
- Auto compute height based on width css style.
- On thumbnail click, open Vimeo video in new tab.
- If you want to show Vimeo actual video instead of a thumbnail then set the
inline
property as atrue
.
Examples
Default Examples
<dw-video src='https://player.vimeo.com/video/313303279'> </dw-video>
dw-video { width: 500px; }
Inline Video
<dw-video inline src='https://player.vimeo.com/video/313303279'> </dw-video>
dw-video { width: 500px; }
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
inline | inline | boolean | If true then shows a inline vimeo video, Otherwise shows a viemo video thumbnail. | |
src | src | string | Video path/source.It should be vimeo video path e.g. https://player.vimeo.com/video/313303279. |
Events
Event | Description |
---|---|
loaded | when video thumbnail/inline-video is successfully loaded. |
1.2.12-set-autoplay-url.1
2 years ago
1.2.12
2 years ago
1.2.0
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.2.5-improve-loading.1
2 years ago
1.2.8
2 years ago
1.2.7
2 years ago
1.2.6
2 years ago
1.2.6-autoplay-issue.1
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.9-autoplay-when-visible.1
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.2.8-dw-video-lazy-loading.2
2 years ago
1.2.8-dw-video-lazy-loading.1
2 years ago
1.2.1-autoplay-video.1
2 years ago
1.2.3-video-events.1
2 years ago
1.2.8-dw-video-style.1
2 years ago
1.1.0-dw-video-add-es-modul.1
2 years ago
1.2.0-shows-video-thumbnail.2
2 years ago
1.2.0-shows-video-thumbnail.1
2 years ago
1.2.2-auto-play-video.1
2 years ago
1.2.11-seek-event-issu.1
2 years ago
1.2.9
2 years ago
1.2.4-thumbnail-blur.1
2 years ago
1.2.10
2 years ago
1.2.11
2 years ago
1.0.1-dw-video.1
2 years ago
1.0.0-init.1
2 years ago