• Resolved gld888

    (@gld888)


    Hi, I have this working great for my YouTube videos, but nothing is pulling through when Vimeo is the source on the page. I saw an old topic about webp images not coming in and the current video format I am seeing from Vimeo is an AVIF file. Is Vimeo still supported?

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

    (@tw2113)

    The BenchPresser

    It’s not that we suddenly don’t support Vimeo, it’s an image format issue.

    I know we have a still open webp issue over at https://github.com/WebDevStudios/Automatic-Featured-Images-from-Videos/issues/69 that never got fully finished, and probably should be.

    Do you have a specific public video that’s giving this AVIF version that we could potentially do some testing with?

    Thread Starter gld888

    (@gld888)

    Hi Michael,

    Makes sense! Is there a workaround for WebP or AVIF file formats? It seems like all the videos I am trying to pull in from Vimeo are not loading an image.

    Here is a video as an example: https://vimeo.com/895568509

    Thanks,

    Garrett

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    No known fixes/workarounds at the moment and ideally we’d do a release if we had one a well. I need to dig in and try and figure out why none of my breakpoints seem to be working for troubleshooting purposes, but I can’t promise a timeline. I’ll do what I can as soon as i can though.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm. A moment of egg on my face…earlier when I was trying to do some initial troubleshooting…i forgot to activate the plugin on my local LOL.

    Anyways, once I activated the plugin, and tested with the exact same Vimeo URL earlier, things were working without issue for both Classic and Block editor.

    Based on these 3 lines, https://github.com/WebDevStudios/Automatic-Featured-Images-from-Videos/blob/master/automatic-featured-images-from-videos.php#L419-L422 we should be forcing to try to load a jpeg variation that Vimeo seems to still be providing so far. It’s a sort of “hack” for WebP file types, but logically makes sense that it should also work for AVIF files too.

    So, why it doesn’t seem to be working for you, I’m not sure.

    Thread Starter gld888

    (@gld888)

    Hi Michael,

    Weird! When I test updating this post with a Vimeo video it just does not want to pull in the featured image: https://app.screencast.com/n561A34Z4t00N. Let me know if you have any ideas.

    Thanks,

    Garrett

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Are you clicking save/publish yet? We do our work on the save_post action hook, so it’s not going to be automatically set upon paste of the URL.

    I just tried with the Vimeo embed block and published and it worked. Earlier I was just pasting in and letting it auto embed the URL.

    Thread Starter gld888

    (@gld888)

    Hi Michael,

    I tested when using a normal “post” and it did actually work. My videos are under a custom post type for “Episodes” and it does not work there. However, the YouTube ones do work for that post type! Is there something I need to adjust for Vimeo on the custom post type?

    Thanks,

    Garrett

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    No restriction based on post type. That said, are you using something like Advanced Custom Fields for this post type, and are perhaps pasting the URL into a spot that saves to meta data, instead of the more standard post content field?

    I know we have this filter available so that site owners can change where gets searched for.

    // Allow developers to filter the content to allow for searching in postmeta or other places.
    $content = apply_filters( 'wds_featured_images_from_video_filter_content', $content, $post_id );

    You could use the post ID to fetch the appropriate meta field and return that to be searched instead of $content which would be the post_content portion.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any changes or new developments @gld888 ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Vimeo Thumbnails Not Pulling’ is closed to new replies.