# xgplayer **Repository Path**: fullstack_admin/xgplayer ## Basic Information - **Project Name**: xgplayer - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-08 - **Last Updated**: 2021-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
xgplayer-mp4
插件就是自启动的,它会自己加载 mp4 视频、解析 mp4 格式,实现自定义加载、缓冲、无缝切换等[详情]((http://h5player.bytedance.com/plugins/#xgplayer-mp4))。对于不支持 [MSE](https://www.w3.org/TR/media-source/) 的设备自动降级。
### Dev
为了方便开发者调试,我们提供了示例视频资源。示例文件较大,可使用 git clone --recurse-submodules -j8 命令完整拉取源码和示例文件;如果你只对源码感兴趣可以使用 git clone 命令仅拉取源码部分。
```
$ git clone --recurse-submodules -j8 git@github.com:bytedance/xgplayer.git # 或者:git clone git@github.com:bytedance/xgplayer.git
$ cd xgplayer
$ npm install
$ npm run dev
```
访问 [http://localhost:9090/examples/index.html](http://localhost:9090/examples/index.html)
### 使用协议
欢迎使用西瓜播放器技术团队提供的开源音视频解决方案!请您仔细阅读以下条款。通过使用西瓜播放器,您表示同意接受以下所有条款。
1. 本开源项目中所有代码基于 [MIT](http://opensource.org/licenses/MIT) 许可协议,您默认遵守许可协议中约定的义务。
2. 您默认授权我们将您使用西瓜播放器所在业务的Logo放置在本官网展示。
若您有任何问题,请联系我们。
### 加入我们
欢迎各位对前端音视频感兴趣的小伙伴加入我们的技术团队!
工作地点:北京、上海、深圳等
岗位类型:社招、校招、实习
发送简历:yinguohui@bytedance.com
邮件标题格式:【简历】+ 姓名 + 前端开发工程师 + 来源:xgplayer github