Closed erikdemarco closed 4 months ago
I have the same issue. I have tried various options including editing the CSS to horizontally center the embed but I am unable to make it work.
I have acheived this by removing the max-width value that is set on the custom element, which allows the video element to fill the parent.
Not quite centering the element itself, but it works in my case.
.wrapper > div > lite-youtube { max-width: unset; }
Thanks @tombo-coys
I want to center this video element created by lite-youtube-embed but it doesnt work, sometimes the video is gone. I also try bunch of css here, still no success: https://stackoverflow.com/questions/114543/how-to-horizontally-center-an-element
Any suggestion to center this video element responsively?