artplayer-vue

Vue Component for Artplayer, It is recommended to package itself according to actual business needs.

Usage no npm install needed!

<script type="module">
  import artplayerVue from 'https://cdn.skypack.dev/artplayer-vue';
</script>

README

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';

// ...
<ArtplayerComponent
    :option="{
        // option, no 'container' property required
    }"
    @getInstance="ins => console.log(ins)" // get the instance
/>;

License

MIT © Harvey Zack