matrix-org / matrix-org/matrix.org

The animated Element Call demo animation does not repeat

Open
#1,856 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aesthetic bug
Dominant language
JavaScript
Stars
616
Forks
463
Avg merge
2d 3h
Merged PRs (30d)
19

Description

This causes the animation to play while I'm elsewhere on the website - and by the time I get to it, the animation has already finished. I didn't realise it was animated until I refreshed the page.

This is the image: https://matrix.org/element-call.webp

Apparently one needs to specify when encoding the file that it should loop indefinitely. Annoyingly, it appears that ffmpeg (and thus a bunch of software that relies on it) doesn't actually support animated webp images: https://trac.ffmpeg.org/ticket/4907

So my 20m attempt to make a PR for this did not go very well. Have you considered another format, such as AVIF or APNG? :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating references to https://matrix.org/element-call.webp in the website and inspect how the asset is served. Check the animation's current behavior and the constraints around animated WebP, ffmpeg, AVIF, and APNG; done means the demo animation reliably repeats when visitors reach it.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.