Handling movie files in a post
- This topic has 2 replies, 2 voices, and was last updated 7 months, 1 week ago by .
- AuthorPosts
- July 12, 2020 at 1:08 am#3226
deimos
Hi,
I’m using the “Photos (v.1.3.0.0)” theme for a gallery of photos and videos. This is being published to an internal server with no Internet access, so everything has to be served off the local server.
The photos work great. The videos not so much. In Tool -> File Manager and add the video files. It seems I cannot reference them in a post using the image or the “media” buttons. When I “sync website”, it hangs at 90%.
In poking through the log files, I see this line every time I publish:
FATAL ERROR: invalid table size Allocation failed - JavaScript heap out of memory
Any suggestions?
Thanks!
July 28, 2020 at 8:01 am#3279deimos
And now I’m getting a new error. The movie file in question is 650MB mp4.
Uncaught Exception: Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed at ChildProcess.target.send (internal/child_process.js:678:16) at IpcMainImpl.<anonymous> (/Applications/Publii.app/Contents/Resources/app.asar/back-end/events/deploy.js:53:44) at IpcMainImpl.emit (events.js:210:5) at IpcMainImpl.EventEmitter.emit (domain.js:476:20) at WebContents.<anonymous> (electron/js2c/browser_init.js:3908:15) at WebContents.emit (events.js:210:5) at WebContents.EventEmitter.emit (domain.js:476:20) at WebContents.topLevelDomainCallback (domain.js:131:23)
July 30, 2020 at 5:55 pm#3304Tomasz Dziuda
ModeratorHi,
Could you check to test it with smaller video file? I suppose that the file is too big for the FTP library used in Publii (I assume that you are using FTP deployment).
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better! - AuthorPosts
- You must be logged in to reply to this topic.