Sign in

Handling movie files in a post

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3226
    deimosdeimos

    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
    deimosdeimos

    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
    Tomasz DziudaTomasz Dziuda
    Moderator

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

    --
    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!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.