@itshizhan/video-player

a video-player based on vue3 and typescript


Keywords
video, player, vue3, typescript
License
MIT
Install
npm install @itshizhan/video-player@0.1.1

Documentation

@itshizhan/video-player

video-player based on vue3 and typescript

Get Started

Npm

$ npm install @itshizhan/video-player --save

Yarn

$ yarn add @itshizhan/video-player --save

Usage

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

Inspired

This Component is inspired by this Article, just refactor based on vue3 and typescript

Referrence

https://freshman.tech/custom-html5-video/

https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/video

https://vitejs.dev/

https://github.com/vitejs/vite/issues/2989

https://github.com/vitejs/vite/issues/2049

https://github.com/egoist/rollup-plugin-esbuild

https://github.com/egoist/tsup

https://github.com/ezolenko/rollup-plugin-typescript2

https://github.com/Swatinem/rollup-plugin-dts

https://github.com/rollup/rollup