open-index/open-npm huggingface dataset:
npm package: @kakuilan/video-react
Description: Video.js component for React
Author: kakuilan
Latest version: 1.0.9

# video-react

[Video.js](https://videojs.com/guides/react/) component for React

### 依赖包

使用前,须安装以下的依赖包

```text
yarn add video.js
```

### 测试视频

```text
        {
            src: "https://vjs.zencdn.net/v/oceans.mp4",
            type: "video/mp4",
        },
        {
            src: "https://vjs.zencdn.net/v/oceans.webm",
            type: "video/webm",
        },
        {
            src: "https://vjs.zencdn.net/v/oceans.ogv",
            type: "video/ogg",
        },
        {
            src: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8',
            type: 'application/x-mpegURL',
        },
        {
            src: 'https://demo.m3u8play.com/m3u8/out/demo.m3u8',
            type: 'application/x-mpegURL',
        },
        {
            src: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',
            type: 'application/x-mpegURL',
        }
```

### version

- v1.0.9