1.2.12 • Published 10 months 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
10 months ago
1.2.12
10 months ago
1.2.0
1 year ago
1.0.2
1 year ago
1.1.0
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
1.2.5-improve-loading.1
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.6-autoplay-issue.1
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.9-autoplay-when-visible.1
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.8-dw-video-lazy-loading.2
1 year ago
1.2.8-dw-video-lazy-loading.1
1 year ago
1.2.1-autoplay-video.1
1 year ago
1.2.3-video-events.1
1 year ago
1.2.8-dw-video-style.1
1 year ago
1.1.0-dw-video-add-es-modul.1
1 year ago
1.2.0-shows-video-thumbnail.2
1 year ago
1.2.0-shows-video-thumbnail.1
1 year ago
1.2.2-auto-play-video.1
1 year ago
1.2.11-seek-event-issu.1
12 months ago
1.2.9
1 year ago
1.2.4-thumbnail-blur.1
1 year ago
1.2.10
1 year ago
1.2.11
12 months ago
1.0.1-dw-video.1
1 year ago
1.0.0-init.1
1 year ago