I learned how to add video in widget using media player. I followed old UE4 tutorials and set Project Settings → Windows → Default RHI → Default(changed from DirectX 12.)
But this setting somehow disabled some features of my UE5.0.3, such as nanite.
Now I need another way to render video without losing nanite.