WMV is a time capsule from the Windows XP years: tidy little files with dated manners. It was born in 1999, Microsoft, and its real weak spot is everything Apple, most browsers, and any phone made this decade.
WEBM is video the way browsers like it: open, royalty-free and built to stream. A Matroska-based container restricted to VP8/VP9/AV1 video with Vorbis or Opus audio. That makes it the right destination when what you need is embedding on the web without licensing worries.