## 调用播放器
### 默认播放器地址
```
你的网站域名/hls/player.html?api.php?id=
```
### 默认m3u8文件地址
```
你的网站域名/hls/api.php?id=
```
### 使用其他播放器
其他播放器直接用m3u8地址即可
如果是播放器和m3u8不是同一个域名下需要启用跨域
如果不知到添加到哪里,可以百度nginx/apache 跨域配置
宝塔用户在网站伪静态中添加即可
nginx 在配置中添加
```
add_header Access-Control-Allow-Origin *;
```
apache 在配置中添加
```
Header set Access-Control-Allow-Origin *
```