vue-videobg
Video Background component for Vue.js
4,724
245
| Install | |
|---|---|
npm install vue-videobg |
|
| Latest Version: | 2.0.0 |
| Vue: | 2 |
| Older releases: | 1 |
| License: | MIT |
| Last Updated: | Jul 6, 2018 |
| Links: | GitHub · npm |
Maintainer: pespantelis
Video Background
Install via NPM
Available through npm as vue-videobg.
npm install --save vue-videobg
Usage
import VideoBg from 'vue-videobg'
Vue.component('video-bg', VideoBg)
// or
new Vue({
el: 'body',
components: { VideoBg }
})
<video-bg :sources="['demo/assets/video.mp4']" img="demo/assets/bg.jpg">
<!-- If you want to add content here, a slot is waiting! -->
</video-bg>
License
VideoBackground is released under the MIT License. See the bundled LICENSE file for details.
Related Packages
vue-video-section
A simple video header/section component for Vue. Good for video backgrounds and...
1,307
33
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.0 | ^2.3.2 | MIT | |
| 1.0.1 | ^1.0.0 | MIT | |
| 1.0.0 | ^1.0.0 | MIT |