video-jumbo

A vue.js Video Jumbo plugin for Slider or Jumbo Page

Usage no npm install needed!

<script type="module">
  import videoJumbo from 'https://cdn.skypack.dev/video-jumbo';
</script>

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.