How to use Viewer for photos and Video player for videos

I want to use Video player App for video files (ex. mp4, mkv, webm) and use Viewer App for Image files (ex. png, jpg, jpeg) and etc. However, when the Viewer app is enabled, my Nextcloud always launches the Viewer App for video files instead of the Video player App. I want to use Video player App for video files. What should I do?

Nextcloud Version: 18.0.9
Viewer Version: 1.2.0
Video player Version: 1.7.0