This commit is contained in:
Harvey Zack committed 2019-04-15 13:18:35 +08:00
1 parent e00fab0bfe
commit 18fbb79dab
3 files changed
+11 -11

No files matched your search

+7 -7
View File
@@ -5,7 +5,6 @@
![license](https://badgen.net/npm/license/artplayer)
![size](https://badgen.net/bundlephobia/minzip/artplayer)
> ArtPlayer is a modern HTML5 video player
![Screenshot](./screenshot.png)
@@ -30,12 +29,13 @@
## Ecosystem
| Project | Description | Demo |
| ----------------------------------------------------------------------------------------------------------------- | ---------------------------- | ---------------------------------------- |
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer | `WIP` |
| [artplayer-plugin-flv](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-flv) | Flv plugin for ArtPlayer | `WIP` |
| [artplayer-plugin-gif](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-gif) | Gif plugin for ArtPlayer | [demo](https://artplayer.org/gif/) |
| [artplayer-tool-thumbnail](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-tool-thumbnail) | Thumbnail tool for ArtPlayer | [demo](https://artplayer.org/thumbnail/) |
| Project | Description | Demo |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------- | ---------------------------------------- |
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer | `WIP` |
| [artplayer-plugin-flv](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-flv) | Flv plugin for ArtPlayer | `WIP` |
| [artplayer-plugin-gif](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-gif) | Gif plugin for ArtPlayer | [demo](https://artplayer.org/gif/) |
| [artplayer-tool-thumbnail](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-tool-thumbnail) | Thumbnail tool for ArtPlayer | [demo](https://artplayer.org/thumbnail/) |
| [artplayer-react](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-react) | React Component for Artplayer | [demo](https://artplayer.org/react/) |
## Demo
+3 -3
View File
@@ -1,6 +1,6 @@
# artplayer-react
Artplayer React Component, It is recommended to package itself according to actual business needs.
React Component for Artplayer, It is recommended to package itself according to actual business needs.
## Demo
@@ -23,11 +23,11 @@ $ yarn add artplayer-react
## Usage
```js
import Artplayer from 'artplayer-react';
import ArtplayerComponent from 'artplayer-react';
import 'artplayer/dist/artplayer.css';
// ...
<Artplayer
<ArtplayerComponent
option={
{
// option, no 'container' property required
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "artplayer-react",
"version": "1.0.6",
"description": "Artplayer React Component",
"description": "React Component for Artplayer",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"