Author Topic: Video player to watch with friends.  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

Offline 074769

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

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 870
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: Video player to watch with friends.
« Reply #1 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

I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Follow members gave a thank to your post:


Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Video player to watch with friends.
« Reply #2 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
« Last Edit: August 03, 2019, 04:34:25 AM by dj »

Follow members gave a thank to your post:


Offline 074769

  • Occasional poster
  • *
  • Posts: 4
    • View Profile
Re: Video player to watch with friends.
« Reply #3 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.
« Last Edit: August 06, 2019, 08:57:18 PM by 074769 »

Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Video player to watch with friends.
« Reply #4 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?
« Last Edit: August 09, 2019, 05:02:36 AM by dj »

Offline 074769

  • Occasional poster
  • *
  • Posts: 4
    • View Profile
Re: Video player to watch with friends.
« Reply #5 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.

Offline KamAntaky

  • Occasional poster
  • *
  • Posts: 6
    • View Profile
Video player to watch with friends
« Reply #6 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.

Offline danny

  • Tireless poster
  • ****
  • Posts: 189
    • View Profile
    • Startfetch
Re: Video player to watch with friends.
« Reply #7 on: August 10, 2019, 01:42:18 PM »
Is there a way to get HEVC, X265 playing? 

Offline dj

  • Tireless poster
  • ****
  • Posts: 152
  • 👣 🐾
    • View Profile
    • PWAs
Re: Video player to watch with friends.
« Reply #8 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 for me in Edge
I think, the future is AV1, because it's free