Skip to content

Prefer webp over gif #167

@balupton

Description

@balupton

GitHub supports videos inside readmes:
https://github.blog/2021-05-13-video-uploads-available-github/
https://stackoverflow.com/a/4279746/130638
https://stackoverflow.com/a/14945782/130638

From my understanding gifs are huge in size, and have often been subtly replaced by other formats by social media networks because of this. I'm not sure if github does the same edge optimisations as other sites do, or if terminal usage with limited colours and frames are the better for gifs than other formats.

Update, seems videos in readmes don't autoplay.

Update 2, seems animated png died out (didn't animate on ios safari), however animated webp seems to have won:
https://developers.google.com/speed/webp/faq

Update 3, animated webp support is already supported by github as it just delegates images to browser support:
https://github.com/TomasHubelbauer/markdown-webp

Update 4, seems webp support needs to be added to vhs first:
charmbracelet/vhs#50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions