Best video format for a header background?

I am planning to build a site like this:

I wonder what is the best video format for using it as a background?

I’ve already reduced the size of the video to 1.2 MB.
Should I use MP4? Or WebM?

Thanks in advance.