No video player when unsupported codec?

Nextcloud version : 26.0.2
Operating system and version : Ubuntu 22.04
Apache or nginx version : nginx 1.18.0
PHP version : 8.1

H265/HEVC codec is not supported by several browsers and when you click on a video file, the nextcloud UX displays an error message.

Here is an error message when single clicking on an MP4 video file with only H265 video stream.

When, the video has a sound track, it displays a blank image with only the sound. This behavior is perfectly expected from a video player with missing codec.

Most users are confused and they think the file is corrupted. The download button is hided inside the three dots (…) menu, either in the player or in the files listing.

Do we have a way to configure nextcloud to download video files on click when the codec is not supported or a failure in playing?

You may want to poke around the dedicated repository for the viewer app:

There may be some relevant existing Issues you can vote on there or comment on with your experience.