mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
676 B
676 B
artplayer-vue
Vue Component for Artplayer, It is recommended to package itself according to actual business needs.
Demo
Checkout the demo from Codesandbox
Install
Install with npm
$ npm install artplayer-vue
Or install with yarn
$ yarn add artplayer-vue
Usage
import ArtplayerComponent from 'artplayer-vue';
import 'artplayer-vue/dist/artplayer-vue.css';
// ...
<ArtplayerComponent
:option="{
// option, no 'container' property required
}"
@getInstance="ins => console.log(ins)" // get the instance
/>;
License
MIT © Harvey Zack