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.
- Host: GitHub
- URL: https://github.com/634750802/vue-video-compat
- Owner: 634750802
- Created: 2018-07-09T09:51:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-09T09:57:31.000Z (almost 7 years ago)
- Last Synced: 2024-04-25T20:00:43.733Z (about 1 year ago)
- Language: JavaScript
- Size: 107 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
}
}
}```