Style the <lite-youtube> component
mainThe component is responsive and can be styled using standard CSS and CSS Custom Properties.
Aspect Ratio and Shadow
- Use
--lite-youtube-aspect-ratioto change the video aspect ratio. - Use
--lite-youtube-frame-shadow-visible: no;to create a flat look by removing the frame shadow.
Play Button Styling
Use the ::part(playButton) pseudo-element to style the play button inside the Shadow DOM.