0.1.8 • Published 3 years ago

vue-videojs-for-dimmies v0.1.8

Weekly downloads
32
License
MIT
Repository
-
Last release
3 years ago

vue-videojs-for-dimmies

Installation

npm install video.js vue-videojs-for-dimmies
# or
yarn add video.js vue-videojs-for-dimmies

Example

<templete>
  <VueVideo
    :options="options" 
    :thumbnails="thumbnails"
  >
</templete>

<script>
import VueVideo from 'vue-videojs-for-dimmies'
  
export default {
  data () {
    return {
      thumbnails: { // (not required)
        src: 'demo/thumbnails.png',
        row: 7, 
        col: 10,
        height: 45,
        width: 80,
        total: 70
      }
      options: {} // docs for https://videojs.com  (required)
      addClassList: [] // add class list (not required)
    }
  }
  
  components: {
    VueVideo
  },
  
}  
</script>

Options

options prop document link

thumbnails prop

OptionTypeDescription
srcStringthumbnails sprites image
rowNumberthumbnails sprites row
rowNumberthumbnails sprites col
widthNumberthumbnails width
heightNumberthumbnails height
totalNumberthumbnails sprites total
0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago