I try to switch to using webm video on my Wordpress site. For demo purposes I used the big buck bunny trailer demo.
I am using openlitespeed with cyberpanel as my webserver and I added this to the .htaccess:
AddType video/webm .webm
I also restarted the whole server after this change. However when I upload media files to wordpress it only jumps to another webpage after which it downloads the webm file itself. The file itself is good, as when I drag it into my browsers (Brave, Safari, Firefox Developer Edition) it plays flawlessly. I am running the latest Wordpress 5.6 and all my h.264 Mp4 files are playing back fine. If there's any additional information you need, tell me and I will add it.
Wordpress doesn't seem to recognize the WebM files as videos even. Regular h.264 mp4 files have a camera icon in the media library and when you click on them they play. Webm files do not do this.
I tried the demo above and one of my own video's encoded in VP9 wrapped in Webm, no different outcome there.