An open API service indexing awesome lists of open source software.

https://github.com/634750802/vue-video-compat

Vue video component supports flv and hls.
https://github.com/634750802/vue-video-compat

Last synced: 3 months ago
JSON representation

Vue video component supports flv and hls.

Awesome Lists containing this project

README

        

# Vue video component compat

## Usage

```bash
# install via npm
npm i vue-video-component-compat -D

```

```js

// main.js

import Vue from 'vue'
import VideoCompat from 'vue-video-component-compat'

Vue.use(VideoCompat)

```

```vue
some.vue

export default {
data () {
videoInfo: {
paused: false,
volume: null,
currentTime: null,
playbackRate: null
}
}
}

```