Files
ArtPlayer/README.md
T
2018-11-24 11:02:40 +08:00

1.8 KiB

ArtPlayer

Build Status version license size

ArtPlayer is a modern HTML5 video player

Screenshot

Features

TODO...

Demo

Checkout the demo from Github Pages

Document

Checkout the Document from Github Pages

Install

Install with npm

$ npm install artplayer

Or install with yarn

$ yarn add artplayer
import Artplayer from 'artplayer';
import 'artplayer/dist/artplayer.css';

Or umd builds are also available

<link rel="stylesheet" href="path/to/artplayer.css" />
<script src="path/to/artplayer.js"></script>

Will expose the global variable to window.Artplayer.

Usage

<div class="artplayer-app"></div>
var art = new Artplayer({
    container: '.artplayer-app',
    url: 'path/to/video.mp4',
});

Ecosystem

Project Description
artplayer-plugin-danmu Danmu plugin for ArtPlayer
artplayer-plugin-subtitle Subtitle plugin for ArtPlayer

QQ Group

QQ Group

License

MIT © Harvey Zack