Watch videos online with your friends.
June 29, 2014 Node.js
Recently I needed a clean easy way to watch videos with friends over the internet. I spent a while trying different solutions and nothing worked the way I wanted, so I created it myself!
I decided to use Node.js, because realtime. Basically there’s a broadcaster and a viewer. Both have HTML5 video players and they’re connected to my Node.js server using socket.io. The broadcaster sends the timecode and status (playing, paused) to the server then the server sends it to the viewers. It works perfectly! The video quality is amazing and the video stays synced. There’s even a re-sync button if the viewer hiccups.
Check it out on GitHub: