1.0.2 • Published 5 years ago

@beck24/youtube-video v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Built With Stencil

youtube-video

A web component for displaying youtube videos in a lazy-loaded manner. Displays and loads only the video thumbnail until the user clicks, then it loads the player and auto-plays.

By default it takes the size of its container, but an explicity width/height can be passed as props.

See the demo: https://beck24.github.io/youtube-video-component/

See the component properties/css variables: https://github.com/beck24/youtube-video-component/blob/master/src/components/youtube-video/readme.md