rejetto forum

Video player to watch with friends.

074769 · 8 · 6123

0 Members and 1 Guest are viewing this topic.

Offline 074769

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
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.
« Last Edit: July 23, 2019, 08:00:58 PM by 074769 »


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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

Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
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
« Last Edit: August 03, 2019, 04:34:25 AM by dj »


Offline 074769

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
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.
« Last Edit: August 06, 2019, 08:57:18 PM by 074769 »


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
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?
« Last Edit: August 09, 2019, 05:02:36 AM by dj »


Offline 074769

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
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.


Offline KamAntaky

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
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.