WordPress.org

Ready to get started?Download WordPress

Forums

How to obtain path of the thumbnail (thumbnail url) of a video in videopress (3 posts)

  1. divillegas
    Member
    Posted 4 years ago #

    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:

  2. http://img62.imageshack.us/img62/2417/thumbnaili.gif
  • Prasad Thombre
    Member
    Posted 4 years ago #

    even i want this for my website...

    You can also get thumbs from follwong url... just replace the video id in the url.

    http://img.youtube.com/vi/ES8HkIUKHPU/2.jpg

  • divillegas
    Member
    Posted 4 years ago #

    When the videos are from youtube or other website of videos there is no problem.
    The problem is when you have a video server, in this case videopress for Multi User. look at this website:

  • http://videopress.com/
  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags