https://github.com/terryz/v-playback
A Vue2 plugin to make video play easier
https://github.com/terryz/v-playback
javascript video videojs vuejs
Last synced: 9 months ago
JSON representation
A Vue2 plugin to make video play easier
- Host: GitHub
- URL: https://github.com/terryz/v-playback
- Owner: TerryZ
- License: mit
- Created: 2018-07-05T13:43:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T06:34:25.000Z (about 4 years ago)
- Last Synced: 2025-03-22T10:13:42.945Z (over 1 year ago)
- Topics: javascript, video, videojs, vuejs
- Language: Vue
- Homepage: https://terryz.github.io/vue/#/playback
- Size: 1.7 MB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
v-playback

A Vue2 plugin to make video play easier
## Examples、Documentation and Changelog
Explorer on
- [English site](https://terryz.github.io/vue/#/playback)
- [国内站点](https://terryz.gitee.io/vue/#/playback)
## Installation
```
npm i -S v-playback
```
Include plugin in your `main.js` file.
```js
import Vue from 'vue'
import PlayBack from 'v-playback'
Vue.use(PlayBack)
```
## Deploy on component
```vue
export default {
data () {
return {
url: 'https://your-site/your-video.mp4'
}
}
}
```
## Dependencies
[video.js](https://github.com/videojs/video.js)
