Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Sierraaltaa,

    You may need to check that your servers max_execution_time is set to something appropriate. It sounds like the script is timing out.

    I have run into the issue before, and am working on a site that is experiencing this issue as well. I will report back here if I can find a resolution.

    Evan

    *** I know this post is 4 months old, but just wanted to comment for future searchers with the same problem. ***

    What Even said is (partly) true when you are encountering the issue where your video only ends up being 5-20 seconds long.

    This plugin works by temporarily uploading the video to YOUR server and then it uploads it to YouTube. So, if your server is setup to only allow a max_execution_time of 30 seconds or an upload_max_filesize of only 2 megabytes, your upload will get cutoff before it finishes.

    To fix this you must make a change in your PHP.ini file(s) to change these three variables:

    "max_execution_time"
    "post_max_size"
    "upload_max_filesize"

    Here are my setting for each:

    max_execution_time = 1200 (This is in seconds, so 1200 seconds = 20 minutes)
    post_max_size = 155m (This is in megabytes and should be slightly higher than upload_max_filesize)
    upload_max_filesize = 150m (This is in megabytes and is essentially the max file size you can upload)

    You might have to restart your server or, if possible, restart the Apache httpd service before these settings will take effect (I had to).

    Plugin Author Evan Herman

    (@eherman24)

    hi Jddean,

    Thank you for posting that resolution here. When users reach out via email that is exactly what I have been telling them.

    The server settings need to be adjusted on some hosts to get things working properly. Unfortunately I cannot control that from within the plugin.

    Thanks again,
    Evan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video upload only uploads first 8 seconds’ is closed to new replies.