akirco / couple-player

Synchronize your video with your old partner , base on webrtc https://peer.extrameta.cn/

Home Page:https://couple-player.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Next.js project bootstrapped with create-next-app.

Intro

A sync-video player with you buddy , basd on webrtc(peer.js)!

features

  • completed

    • ...
  • plan

    • add video source
      • youtube
      • bilibili
    • chat
      • emoji
      • danmu optmize

Tips

暂时没开发完整,别 clone 玩了,昨天用的 api dou 被封了

本来是想写聊天同步播放视频的房间的,但是使用的是peerjs,客户端是可以实现的但是比较复杂,我觉得应该交给后端实现

next.js prod 不支持websocket

Development

git clone https://github.com/akirco/couple-player.git

pnpm i

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

About

Synchronize your video with your old partner , base on webrtc https://peer.extrameta.cn/

https://couple-player.vercel.app


Languages

Language:TypeScript 89.1%Language:CSS 5.6%Language:HTML 4.2%Language:JavaScript 1.1%