This is a Next.js project bootstrapped with create-next-app
.
A sync-video player with you buddy , basd on
webrtc
(peer.js)!
-
completed
- ...
-
plan
- add video source
- youtube
- bilibili
- chat
- emoji
- danmu optmize
- add video source
暂时没开发完整,别 clone 玩了,昨天用的 api dou 被封了
本来是想写聊天同步播放视频的房间的,但是使用的是peerjs,客户端是可以实现的但是比较复杂,我觉得应该交给后端实现
next.js prod 不支持websocket
git clone https://github.com/akirco/couple-player.git
pnpm i
pnpm dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.