larkplayer

 NPM version Downloads License

English | 中文

## Overview larkplayer is a light and flexible web player * Lightweight, uglify + gzip < 12kb * Solve most compatibility issues, such as full screen, mobile inline playback, etc * Provide an event mechanism to proxy native events and allow custom events * Provide plugin mechanism to support multiple plugin types * Pure javascript, no specific framework dependencies We separate many functions into [plugins](./docs/plugins/plugin-list), also you can [build your own plugin](./docs/plugins) Check out [live examples](./examples) ## Download NPM ``` npm install larkplayer ``` CDN ``` ``` ## Quick Start #### Via script ```html    larkplayer quick start ``` #### Via npm & es6 ```javascript import larkplayer from 'larkplayer'; const player = larkplayer('video-el'); ``` ## Document * [Design](./docs/design.md) * [Plugin writing example](./docs/plugin) __API__ * [Player](./docs/api/player.md) * [Events](./docs/api/events.md) * [DOM](./docs/api/dom.md) ## Change Log [CHANGELOG](./CHANGELOG.md) ## License larkplayer is [MIT licensed](./LICENSE)