Page 1 of 1
Video upload
Posted: 04 Mar 2017, 10:19
by Reflexeye
Hi
I'm getting:
Error SyntaxError: Unexpected end of JSON input
When uploading videos to gallery.
Any suggestions on the problem.
best, Jem.
Re: Video upload
Posted: 04 Mar 2017, 10:37
by mjau-mjau
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.
Re: Video upload
Posted: 04 Mar 2017, 12:54
by Reflexeye
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
Re: Video upload
Posted: 04 Mar 2017, 22:13
by mjau-mjau
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).