Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Handling movie files in a post

  • #3226
    Avatar photo[anonymous]

    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!

    #3279
    Avatar photo[anonymous]

    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)
    #3304
    Avatar photo[anonymous]

    Hi,

    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).