My first small project - Youtube videos synced with channels

Hi,

I’ve been checking out this forum for a while now. Really great stuff, although a bit too technical for me at times. (just doing this as a hobby)

As a finisher for the book programming phoenix i made a small app which also uses the youtube api. Its basically just a genserver grabbing a new video when the currently playing video has ended. The video playing is synced to all users through the use of channels.

It took me a while to understand the concept of genservers but eventually i (kind of) figured it out :slight_smile:

For those interested: YNTBS

5 Likes

For me it keeps playing the same video over and over :wink:

Well, the behavior you’re describing is the way it should work (if i understand you correctly). The video showing is the same for everybody all the time. When you put two browsers side by side it should play the same video at the same point in the video.

Thanks for checking!