|
@@ -26,14 +26,14 @@ $ npm run build
|
26
|
26
|
## Install package.
|
27
|
27
|
|
28
|
28
|
```bash
|
29
|
|
-$ npm install https://git.links123.net/links123.com/video_player.git --save
|
|
29
|
+$ npm install git+https://git.links123.net/links123.com/video_player.git --save
|
30
|
30
|
```
|
31
|
31
|
|
32
|
32
|
## Usage
|
33
|
33
|
|
34
|
34
|
```javascript
|
35
|
|
-import { DefaultPlayer as Video } from 'react-html5video';
|
36
|
|
-import 'react-html5video/dist/styles.css';
|
|
35
|
+import { DefaultPlayer as Video } from 'video-player';
|
|
36
|
+import 'video-player/dist/styles.css';
|
37
|
37
|
|
38
|
38
|
const Player = () => (
|
39
|
39
|
<Video autoPlay>
|