How can I adjust the size of an embedded video on my main page?

I want to add a no control video on the main page, i embedded the code in custom liquid section

on desktop is hows 1.9 on it which is pretty weird (and it’s not center justify)

on the mobile, the video size is too big

is there any ways I can fix it?

below is the code I embedded

  1. video {
  2. width: 100%;
  3. height: auto;
  4. display: block;
  5. margin: 0 auto;
  6. }
  7. <source src="/media/cc0-videos/flower.mp4"
  8. type=“video/mp4”>

To start, I want to make sure that the video the person wants to add is in a format that can be played on Shopify. Shopify supports several different video formats, including MP4, MOV, and WebM. So the first step is to make sure that the video is in one of these formats. Can you confirm that?

yes mp4 file

Can you do it?