Directly download an MKV when clicking on it?

Nextcloud version: 17.0.0
Operating system and version: Debian 9
Apache or nginx version: Apache 2
PHP version : 7.2

Clicking an MKV creates a pop-up that fails to load the media instead of directly downloading it. Is there any way to disable this kind of behavior and trigger a download when clicking on an .MKV?

I think Nextclouds own video player doesn’t supports .mkv file. Therefore the behavior of how to handle these files is usually managed in the used web browser and not on the server. There you can decide what should be done if such file is found, directly play with in a local media player, store in a specific folder or ask what the user wants to do.