Click here to Skip to main content
16,004,581 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How would I implement a feature such as a "Watch together" feature where people from different computers can play the same video file at the same time, or say the time is locked at a certain time and advances as if you were watching the movie, so that the movie is playing the exact same for both people

The website is hosted by github, and is online, so there shouldn't be a problem with linking the two computers together as they are on the same website.

If it is any help, I am also hosting the video files embedded from google drive
(Google drive embeds videos with in case you need it...

Below is the type of iframe that google drive uses.

<b>What I have tried:</b>

<iframe frameBorder="0" id="vvideo" src="https://drive.google.com/file/d/1RJ_-a_7UZvSTBpNui8pVExgKGk7w4tlI/preview" allowfullscreen>
Posted
Updated 15-Jan-18 8:49am

1 solution

This is beyond the scope of quick answer forum.

If i understand you correctly you are saying your website is hosted by github and you want to share the video directly from google drive.

For one, your site being hosted on github won't help you any, as far as I know, github only allows you to host a basic html esque website.

Your going to need server side handling of the video file for streaming capabilities, you'll need to look into how to stream video (not in an iframe), how to buffer the video so you don't require them to download a 700mb video before viewing...etc. I'm not sure how technically capable you are so either the above will make sense or you've got a few years before you'll be able to build this since you'll need to start with the basics.

There is a lot to consider here which is why i say this question is beyond the scope of what the purpose of this forum is. We'd essentially be spec'ing out for you a cross between twitch and youtube.
 
Share this answer
 
Comments
Member 13624114 15-Jan-18 14:54pm    
Yeah, that's true. I do a bit of html coding, but am not super advanced in this..
Was just a fun project and was wondering if I could do it. Thanks for the reply

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900