Skip to content

[OP] Feature request: Ability to sync videos playing between multiple clients #26

Description

@AXeL-dev

As described in the title, this feature is quite OP (Over Power) since it will require some considerable work to be implemented.

Below some ideas on how this can be achieved:

  • With an auth system: Add an authentification system to simplify connection/identification between clients?
  • Without an auth system: This could be simply achieved by providing a link that one of the users can share with the other(s), instead of a whole auth system that may not be so useful.

For the syncing part, youtube player API already provides event listeners for the player actions (like play, pause & resume, etc..), so listening to the player events won't be a challenge, the rest would be to use one of the following protocols/technologies to communicate between the clients in real-time:

  • WebSockets (socket.io)
  • WebRTC
  • Implement a custom protocol 👀? (based on a peer to peer architecture? just to avoid the need of a server)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions