How to center YouTube player block

On our page (Biblista odpowiada – Lumen Vitae) we are using block editor and there YouTube player blocks. The problem is that they do not center. Why? How to overcome this?

Hello,

Videos are tricky to center as they don’t apply to basic CSS rules.
You can use this CSS code to center your videos:

.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube {
    display: flex;
    justify-content: center;
}