jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Movie does not load. #225

Open migvel opened 8 years ago

migvel commented 8 years ago

Hello,

I have installed and running the mediacenterjs(latest commit) in a Linux computer and accessing media from the same computer goes fine.

If I try to access the movies with an Ipad or an Android phone the film never loads, in the logs last message says:

{"level":"info","message":"File is mp4, copieing local file to data folder so it can be accessed...","timestamp":"2016-07-14T13:54:00.337Z"} system.log.txt

I tried very short length video cut, but still the movie never loads.

Any help would be much appreciated. Regards.

migvel commented 8 years ago

Taking a look at video-playback.js that's what should happen, as there is a block that only executes for platform === 'desktop', is there any reason to handle differently the video in different platforms?

Forcing to execute that block for any platform makes the video to render in the mobile screen perfectly.

Thanks and nice job.