• Resolved benteague

    (@benteague)


    Hi Sutherland,

    Really like the look of your plugin but I am having trouble getting to work.

    Im running WP 3.8.1, Video thumnails plugin v2.5 and I am using the Svelte theme which is compatible

    When I paste this vine URL:
    <iframe class=”vine-embed” src=”https://vine.co/v/bjQlHEXW23g/embed/simple&#8221; width=”600″ height=”600″ frameborder=”0″></iframe><script async src=”//platform.vine.co/static/scripts/embed.js” charset=”utf-8″></script>

    into the “test markup for video” I get the error:
    Error retrieving video information from the URL https://vine.co/v/bjQlHEXW23g using wp_remote_get()
    If opening that URL in your web browser returns anything else than an error page, the problem may be related to your web server and might be something your host administrator can solve.
    Details: name lookup timed out.

    I have asked my host to look into my server settings and they think the wp_remote_get() function is working as some video providers do work.

    My host asked the question, whether any low time out values set is causing the issue?

    Sorry if this error is already posted in another thread. Point me in that direction if it is.

    Thanks,
    Ben

    https://www.ads-software.com/plugins/video-thumbnails/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    You can try increasing the timeout value for Vine by changing this line in video-thumbnails/php/providers/class-vine-thumbnails.php

    $response = wp_remote_get( $request, array( 'sslverify' => false ) );

    to

    $response = wp_remote_get( $request, array( 'sslverify' => false, 'timeout' => 120 ) );

    Thread Starter benteague

    (@benteague)

    Hi Sutherland,

    Thanks for getting back to me. After digging around (I’m not that technical) I found the line you were referring to and changed it what you suggested. Unfortunately it still didnt work. I get the following error:

    “Thumbnail found, but there was an error retrieving the URL.

    Error Details: name lookup timed out”

    Do you have any other suggestions on what might be causing the problem?

    Thanks, Ben.

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Hey Ben,

    Your server must have a slow connection to Vine, but the default timeout length can be extended on your server. Since you probably wouldn’t be comfortable handling the code yourself, you can install a plugin that does the job for you. I’ve written one that’s available in this tutorial.

    Thread Starter benteague

    (@benteague)

    Hey Sutherland,

    The plugin worked! Thanks you so much for your help, I am looking forward to using your plugin(s).

    Thanks
    Ben

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Great! I hope you’ll leave a review.

    hai anyone pls tell how to post the video in vine using php

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    I am now closing this 5 month old topic as it references an older version of WordPress & has been resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error retrieving video information from Vine URL’ is closed to new replies.