rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: 074769 on July 22, 2019, 05:28:52 PM

Title: Video player to watch with friends.
Post by: 074769 on July 22, 2019, 05:28:52 PM
I'm looking for a way to make the player like on watch together sites... So that if i click play it, to play for my friend at the same time without counting down 3,2,1 press play :), this is to watch movies together.
Title: Re: Video player to watch with friends.
Post by: bmartino1 on July 23, 2019, 08:25:00 PM
there are many ways to accomplish this, most wil require some html coding and/or som knowhow in hfs to chage templates.

Dany/DJ and others have created a descent working throwback tempalte that can do this

there is a rarw live tempale that can do this as well

--------------

From the sounds of it, you need to setup and fix one major setting to get htings started.

Hfs mime typ defention for the video file you are using and have them open directly in browser
http://rejetto.com/forum/index.php?topic=11400.msg1059164#msg1059164

Title: Re: Video player to watch with friends.
Post by: dj on July 24, 2019, 02:51:20 AM
use server push

update: v2 minimizes delay

1. you and your friends open video2.htm with querystring video (video2.htm?mov_bbb.mp4)
2. you and your friends click on Start (to listen to server)
3. someone click on Play and wait 5 sec (then the video starts playing with you and your friends)

update: v3 can also pause
update: v4 can multiple rooms, v5 can also add subtitles
Title: Re: Video player to watch with friends.
Post by: 074769 on August 06, 2019, 05:27:16 PM
Thanks allot, will try it out.

Update: I can't seem to make it work, i uploaded video5.htm in hfs, also used the template, the only thing i edited was the name of the video file, but when I open the video5.htm in the browser and my friend, it doesn't make a room and when we press to play it does nothing, i don't really have knowledge in HTML codding or anything related, i can change just a few basic things just by observing what does what, any help would be really appreciated. I tried to google, but i lack the knowledge of what i'm looking for.

I think what i'm looking for is the server push.
Title: Re: Video player to watch with friends.
Post by: dj on August 07, 2019, 06:16:32 AM
Does the video play, if you press play in the videocontrolls? -> If no, put the video in same folder as video5.htm
After pressing Start, do you see the Get requests in hfs-Log? -> If no, extract zip and add the folder (incl. subfolder server) to hfs
Tested with FF/chrome. Doesn't work with IE/Edge(<76).
What does the web-console say?
Title: Re: Video player to watch with friends.
Post by: 074769 on August 07, 2019, 07:53:30 PM
I managed to make it work, apparently if you don't log to screen it doesn't want to work, it doesn't get the "get request" might be a hfs bug. Or that i was keeping it in a virtual folder. It works.
Title: Video player to watch with friends
Post by: KamAntaky on August 10, 2019, 12:13:25 PM
Very nice, thanks for the link. I have toyed with threejs quite a bit. After tons of time coding I could never get the performance I seeked.
Title: Re: Video player to watch with friends.
Post by: dj on August 10, 2019, 04:54:04 PM
Is there a way to get HEVC, X265 playing?

https://caniuse.com/#feat=hevc and http://rejetto.com/forum/index.php?topic=11773.msg1061512#msg1061512
It works (https://www.h265files.com/embed-h265-video.php) for me in Edge
I think, the future is AV1 (https://caniuse.com/#feat=av1), because it's free