Search…

X3 Photo Gallery Support Forums

Search…
 
Reflexeye
Topic Author
Posts: 3
Joined: 02 Mar 2017, 05:55

Video upload

04 Mar 2017, 10:19

Hi
I'm getting:

Error SyntaxError: Unexpected end of JSON input

When uploading videos to gallery.

Any suggestions on the problem.

best, Jem.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Video upload

04 Mar 2017, 10:37

The video files are mp4? I am guessing your video files are larger than 2MB, and your host likely has a 2MB max_file_size upload limit. Do you have a link so I can check? If this is the case, unless you can get your host to change the max_file_size, your only option is to upload video files by FTP.
 
Reflexeye
Topic Author
Posts: 3
Joined: 02 Mar 2017, 05:55

Re: Video upload

04 Mar 2017, 12:54

Ah - thanks! 

yes - MP4, >2MB

I changed 'upload_max_filesize = 10M' to 'upload_max_filesize = 100M' but no luck. I couldn't find 'max_file_size' specifically.

The host is 'justhost', site url is reflexeye.com 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Video upload

04 Mar 2017, 22:13

Indeed it seems your settings should be sufficient. Exactly how large are your video files?

Possible you can give me login to your panel so I can diagnose myself? I once experienced a server who allowed changing php ini settings, but the settings were just superficial and didn't actually have any effect.

Also, just curious why you don't consider hosting your videos for example at Vimeo? Vimeo/Youtube offer several advantages that your self-hosted videos can't compete with:
  • Stream videos in multiple formats to support all devices.
  • Stream videos in multiple bitrates to support slow and fast connections.
  • Stream videos in multiple resolutions.
  • True streaming (in contrast to play-while-downloading).