Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marcuseby

    (@marcuseby)

    It isn’t that complicated.
    And it assures me, that the client will see the thumbnail after they upload a video.
    I guess I didn’t realize the time it takes for ffmpeg to create the thumbnail.
    I assumed the queue was there, because the delay was almost 30 seconds.

    Guess its a learning curve with ffmpeg.

    M

    Thread Starter marcuseby

    (@marcuseby)

    Ok, thats awesome thx.
    The problem I have is that I need the thumbnail created on upload, not put into a queue.
    In other words, the video is only considered uploaded, when the thumbnail has been generated.
    I’ll look into your classes and see if I can do this programatically for the front end piece I’ve created.
    Unless you have some suggestions. I’m just going to use wp.media in javascript, then .on(‘select’) I’ll check to see if it has a thumbnail and if not, use ajax to generate one via php and possibly your generate function. (unless it only uses queueing)

    Thanks

    Marcus

Viewing 2 replies - 1 through 2 (of 2 total)