Support » Alpha/Beta/RC » How to obtain path of the thumbnail (thumbnail url) of a video in videopress

  • Sorry, I do not speak English.
    I am currently working on the video version of wordpress. I get the path of the small image (thumbnail) of a video I uploaded on my local site, but have not found a method that allows me to get the path (thumb_url).

    This is the code that allows me to get the handle of the video, but still not like using the identifier.

    $content = $post->post_content;
    //Example: $content --> [wpvideo fd4sgy5ugs]
    if (preg_match('/(\[wpvideo)(.*?)\]/',$content, $match)) {
    echo $match[2];
    //show:  fd4sgy5ugs

    This is an image:

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