Streaming Videos Format

Hi,
We have the need to enter background videos in a Wordpress page based on elementor.
Their background player allows youtube, vimeo and mp4 videos.

Can we use cloudflare to optimize the loading of the videos in the mp4 format?
Does cloudflare change the format?

We did try to follow this guide, but so far we only get it running with a workaround.

Has anyone used cloudflare + WP + Elementor and a setup with background videos and can help?

Thanky you,
Sash