Video previews no longer seem to work in 2.51.0 desktop on Linux

The inline video previews no longer seem to work in 2.51.0 desktop on Linux, when I attach a video via Attach > File. Is this intentional? Is there some way to send videos where the previews still work?

Works for me. What video format is that? is the video displayed inline on Android?

I don’t have any Android device, so I have no idea. The affected format is vp9+webm.

I see, I managed to reproduce with a .webm video. The same also goes for Android, so this is a Core issue. It’s a bit of a mess. The video is displayed as a file on the sender device but as a video of recipients’ and other senders’ devices.
Maybe somewhat related to Large images are not handled consistently ¡ Issue #8296 ¡ chatmail/core ¡ GitHub.

We changed this recently, and started relying on Core to determine whether the file is just a file or if it’s a video or image message.

There was also a PR that was not merged with a proposal to make sure file is always sent as file:

Generally, attaching as file is for attaching files as is, with a filename.
Maybe media is better attached as “image”, even if it is a video.

Attaching it as an image doesn’t seem to fix this either, for what it’s worth. But perhaps it would make sense to have either work fine for videos, Attach > File and Attach > Image, since in terms of UI I feel like a user might try both and it’s not clear which one is the “right” one. So if both worked, that would be best.

this doesn’t work, even if you try to bypass the file-picker restriction to select image format, then the selected video is preview as broken image

I can also confirm that there is no way to preview videos now in Desktop, there is no “Media”, “gallery” or “video” option, only image or file and when selecting a video it is selected as file, even if it seems to be ultimately sent as video

drag-and-dropping the video also staged it as file draft