Vue Component for Artplayer, It is recommended to package itself according to actual business needs.
Checkout the demo from Codesandbox
Install with npm
$ npm install artplayer-vue
Or install with yarn
$ yarn add artplayer-vue
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
/>;
MIT © Harvey Zack