Support » Plugin: Video Embed & Thumbnail Generator » Thumbnail Generator Function Name

  • Hello,

    I would like to know the name of function which is responsible for generation of thumbnail. Say my uploaded video path is http://example.com/wp-content/2019/05/sample.mp4. I can supply to the function the video path and and post id, and function will generate thumbnail and attach thumbnail to the respective post.

    Please note am not using any wordpress backend to upload video. I have created a function to upload video from frontend and skip all other kind of post (like texts, embedded content).

    I will be very thankful if you can provide me the function name responsible for generating thumbnail of video.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    The function on its own isn’t going to help since the whole process involves several interrelated functions. If you’re creating an attachment in the Media Library you don’t need to access the function directly. As long as you have FFMPEG installed on your server you can set the plugin to automatically create a thumbnail whenever a new video is added to the database. If you don’t have FFMPEG it’s not possible to generate thumbnails automatically.

    Plugin Author Kyle Gilman

    (@kylegilman)

    We had a similar conversation a few months ago. Am I misunderstanding what you’re asking for now?

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