2018-11-12 16:00:55 +08:00
2018-11-12 10:00:55 +08:00
2018-11-12 10:00:55 +08:00
2018-10-10 14:23:06 +08:00
2018-11-09 14:36:48 +08:00
2018-11-08 15:35:07 +08:00
2018-10-10 14:23:06 +08:00
2018-10-10 14:23:06 +08:00
2018-10-24 17:12:31 +08:00
2018-10-10 14:23:06 +08:00
2018-10-10 14:23:06 +08:00
2018-11-07 19:43:30 +08:00
2018-10-08 22:37:51 +08:00
2018-11-07 17:12:42 +08:00
2018-11-12 16:00:55 +08:00

ArtPlayer

ArtPlayer is a modern HTML5 video player

Status

⚠️ This project is WIP and not ready for production use yet!

Demo

Checkout the demo

Install

$ npm install --save 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>

Expose the global variable to window.Artplayer.

Usage

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

Note: You need to initialize a size for the container element.

Languages
JavaScript 89%
Less 9.8%
TypeScript 0.7%
Vue 0.3%
HTML 0.1%