This commit is contained in:
2023-12-06 00:09:34 +08:00
parent ec727bbf6b
commit ff0696b55b
7 changed files with 140 additions and 33 deletions

View File

@@ -4,6 +4,30 @@
- [x] 提供流媒体服务
- [x] 点击播放之前不加载视频(减少流量消耗)
- [x] 使用封面图片替代加载视屏第一帧
- [x] GraphQL 风格API
- [ ] 列表翻页
GraphQL
```javascript
const query = `
query ($id: Int!) {
article(id: $id) {
id
title
content
author {
id
name
}
}
}
`
```
通过流媒体服务降低视频文件加载消耗及防止恶意刷流量