Not able to use videos in my Figma file

Hi All,
I am trying to use a video file in my Figma prototype. I am using a rectangle(shape) and using the “Fill” option to use the video. After few seconds, it is showing messages “the video can’t be uploaded” and “invalid video removed” and then the video layer disappeared. I am using a .mov having 27.9 MB of size. I tried with different .mp4 videos(with different sizes), but, no luck. Can you please help me identify what could be the issue here? How could this be resolved?