How to centre align embedded youtube video in CMS?

It is currently looking like this on the blog post


Here is my public share link: LINK
(how to access public share link)

Have you tried: Auto margin | Webflow University

And in future, when you raise a topic on this community, do paste in a link to a read-only version of your webflow: how to access public share link

Hey @psheld Thanks for your response. I am not sure how to share read-only link from a CMS collection.

It’s like this -

Hi

Try this embed code

<iframe style="display: block; margin: auto; width="560" height="315" src="https://www.youtube.com/embed/Ii_9k2g_aBQ?si=n1pE78VIKfJsc-yL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

use style css to make video center

Let me know if this work for you.

Thanks

You can’t share just the CMS Collection, take a look at the link and in future we can help you faster.

1 Like

I noticed another issue in mobile video when I embedded youtube video

How do i fix this? Is it because the youtube video is very big? - Should You Pay Rent with a Credit Card? - Azibo