zorchenhimer / MovieNight

Single instance video streaming server with integrated chat.

Home Page:https://discord.gg/F2VSgjJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Mobile Devices

CptPie opened this issue · comments

In todays movienight some people had trouble watching from phones in general and older phones in particular.
Maybe it would be advisable to also support mobile devices (i.e. phones).
I have no idea how difficult that would be.

I would be interested in watching from mobile as well if not too difficult. I’ve had no luck on iPhone, iOS 13.

Desktop browsers I’ve tried have worked great.

Thank you for this great project!

commented

Unfortunately, I'm not sure exactly what this would involve. I don't have any apple devices so I can't even test different things in a brute-force type fashion (for the record, it "works" on my android phone).

There is a decent chance that the phone just doesn't support the format that's being streamed. If that's the case, the stream would need to be re-encoded somewhere else in order to be played. This is something that I'd like to get implemented but I don't think it would necessarily be part of MovieNight. Video encoding is very resource heavy and I do not want that on the same server that's serving web requests.

I tested streaming on smartphone and tablette and it's working (3h in a row at least).

Devices

  • smaprtphone : Onplus 7T-Pro stock, browser Vivaldi Mobile ;
  • tablette : Samsung T813 stock, browser Vivaldi Mobile ;

Streamed on my iPad, works fine, but CSS is a tad broken. The video element is taller than the screen, resulting in the video sitting slightly lower than the chat.

Open stream in vlc on ios using http://url/live

Open stream in vlc on ios using http://url/live

Ok, si maybe a tweaking into the JS front to allow the user to open the stream inside or outside (custom app of the phone) of the web browser can be an option.

iOS does not support the media extensions in HTML5 that the js framework is using. iPadOS 13.4 and greater do support those however. iOS will NEVER support those extensions, so if you want it to work on iPhones the js playback framework has to change to one that doesn't rely on them.