video-jumbo
v1.0.14
Published
A vue.js Video Jumbo plugin for Slider or Jumbo Page
Downloads
14
Maintainers
Readme
video-jumbo
A vue.js Video Jumbo plugin for Slider or Jumbo Page
Usage
# bash
$ npm install video-jumbo
# main.js
import VideoJumbo from 'video-jumbo';
Vue.use(VideoJumbo);
# component template
<video-jumbo :data="videoData"></video-jumbo>
# component js(data)
data() {
return {
videoData: {
backgroundVideoUrl: require('@/assets/myvideo.mp4'), // background video, required, using files in project demo
popupVideoUrl: 'http://cdn.ipietech.com/videos/myvideo.mp4', // popup video, required, using cdn demo
}
}
}
FYI
Please check github for more information.