video-player based on vue3 and typescript
$ npm install @itshizhan/video-player --save
$ yarn add @itshizhan/video-player --save
import { createApp } from 'vue'
import App from './App.vue'
import VPlayer from "@itshizhan/video-player";
import "@itshizhan/video-player/dist/style.css";
createApp(App).use(VPlayer).mount('#app')
This Component is inspired by this Article, just refactor based on vue3 and typescript
https://freshman.tech/custom-html5-video/
https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/video
https://github.com/egoist/rollup-plugin-esbuild
https://github.com/egoist/tsup
https://github.com/ezolenko/rollup-plugin-typescript2