Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Best guess I can offer is that there weren’t available images at points of publish. We haven’t done any updates to the plugin on www.ads-software.com here in 4 months at this point.

    Using the video at this post: https://fragtheplanet.com/3924/for-honor-duels-with-conquerer/ it should try and find both of these, in this order:

    https://img.youtube.com/vi/Jfk8MGMWARk/maxresdefault.jpg
    https://img.youtube.com/vi/Jfk8MGMWARk/hqdefault.jpg

    Thread Starter theshark1234

    (@theshark1234)

    hmm After a bit of research it looks like the image files aren’t being uploaded into wordpress, I know the images were available at the points of publish because I always create and upload custom thumbnails on youtube whenever I make a video.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hard to say really. Is the “Drevo Tyrfing 87 Key TKL Review – Cheap Mechanical Keyboard 2017” post done the same way as the previous five? If so, it seems like something started kicking in again and fetching/uploading the found graphics.

    Perhaps try again with some draft posts to get some copies into the media library and go back to edit the 5 in question to include the appropriate thumbnail now.

    Thread Starter theshark1234

    (@theshark1234)

    No the Drevo post I added manually because I wanted it up there and looking correct… I am testing a different plugin right now… not really sure how to debug the one you made to see where its having the problem.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you have a list of upcoming videos needing posted, and can share the URLs right now, I can try on my end to see if it’s ending up a plugin issue or possibly an install issue. Anything to try and help quick.

    Thread Starter theshark1234

    (@theshark1234)

    I will have one tonight, ill give you the url after I get it. Thanks for the help.

    Thread Starter theshark1234

    (@theshark1234)

    so after trying a different plugin, that one worked for about a week and stopped working. It has a debug section and when I run the download test i get a error.

    Error Details: cURL error 7: Failed to connect to img.youtube.com port 80: Connection timed out

    so im not sure where to go from here now. Id rather use your plugin as it is much simpler and does only what I need.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds like an issue potentially coming from Youtube’s side of things, or some sort of block occurring between your server/domain and theirs.

    Whatever is going on, will likely be failing at this spot: https://plugins.trac.www.ads-software.com/browser/automatic-featured-images-from-videos/tags/1.0.3/automatic-featured-images-from-videos.php#L70 which is the only place we reference the img.youtube.com URL. We use WP Core’s functions to fetching the results, and not cURL directly.

    Not sure there’s much we can do on our end, sadly.

    Thread Starter theshark1234

    (@theshark1234)

    yeah no worries, thanks for the help, I think my host is blocking or not going fast enough and timing out on the download.

    thanks

    Thread Starter theshark1234

    (@theshark1234)

    do you know a way to set the timeout on the wp_remote_head command to something higher than the 5 second default? if its retrieving an image maybe a higher timout of 20 seconds would fix the issue for slow hosts?

    $remote_headers = wp_remote_head( ‘https://img.youtube.com/vi/’ . $youtube_id . ‘/maxresdefault.jpg’ );

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Let us know if anything changes on that front.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    No way I presently know of, but I haven’t dug into the available parameters much at all, or possible filters inside the function itself.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Stopped working after Feb 28,2017’ is closed to new replies.