Giter Site home page Giter Site logo

syncwatch-web's Introduction

syncwatch-web

Syncs the position and pause state of the video player between connected peers to watch videos together with friends. Works with direct urls to video files with codecs supported by browsers or youtube links.

Demo

https://syncwatch.live

Instructions

Copy the link in the address bar including the room number to someone so they can join the room. There are 2 possible video source methods that can be used:

YouTube

Enter a youtube url into the input bar, and press enter or click the stream button.

Direct links to video files

Enter a url of a video stored on an http server publicly, such as https://example.com/video.webm
In this case the file needs to be encoded with a format supported by the browser. For example, h.264 video and aac audio standards. They also need to be http streamable, i.e., encoded with -movflags +faststart. Note that a webpage which has a video on it isn't necessarily the link to that video.

Setup

  • Create a Realtime Database project on Google's Firebase
  • Go to Firebase Console and get the credentials under project settings
  • Fill the firebaseConfig variable in src/room.ts with the credentials

Development

  • Use npm run serve for local testing

Deploy

  • npm install and npm run build will create the dist/ folder
  • Upload the dist/ folder to a static host

syncwatch-web's People

Contributors

dependabot[bot] avatar utkuce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

floodyboy

syncwatch-web's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.