Skip to content

Handle Vimeo serving WebP images #69

Open
@tw2113

Description

@tw2113

Vimeo has switched to WebP. It's also switched to image URLs that have no file type suffix.

Example:
https://i.vimeocdn.com/video/1141331067_640

WordPress does not yet support WebP in the media library at the time of this post. However it should in WP 5.8 as per https://core.trac.wordpress.org/ticket/35725

I think we need to do a couple things.

  1. Amend https://github.com/WebDevStudios/Automatic-Featured-Images-from-Videos/blob/master/automatic-featured-images-from-videos.php#L282-L283 to potentially be just for Youtube, and exclude Vimeo. This would make us not end up worrying about query args which we shouldn't be getting anyway?
  2. Probably require WP 5.8 for our next release, to help handle WebP support in general.

Only downside to item 2 is that it leaves previous users in the dark for Vimeo support, as we can't control what they serve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions