To customize the appearance of YouTube videos in Webflow with rounded corners and minimize icons, you will need to adjust some settings and use custom CSS. Here’s how you can do it:
1. Embed the YouTube Video
- Add a Video Element: Use the Webflow Designer to drag and drop a video element into your page.
- Copy the YouTube Embed Link: Obtain the embed link from YouTube for the desired video.
- Paste the Link: Insert this link into the video embed field in Webflow.
2. Customize Video Appearance with Custom CSS
- Open Page Settings: Go to the specific page settings where the video is embedded.
- Add Custom Code in the Head Code: Insert a style tag with your CSS to adjust the appearance.
- Apply Rounded Corners: Use CSS to give the video rounded corners by targeting the iframe. For example:
iframe { border-radius: 10px; }. - Hide Icons With Parameters: Add
?controls=0&modestbranding=1 to the YouTube embed URL to minimize the display of icons, leaving primarily the play button visible.
3. Publish and Test Your Changes
- Publish Your Webflow Site: Click on the publish button to make your changes live.
- Verify the Display: Check that the video is displaying with rounded corners and limited icons on the published site.
Summary
You can add rounded corners to YouTube videos in Webflow by using custom CSS within the Page Settings. Additionally, use URL parameters to hide most icons, leaving only the play button visible. Always publish and verify to ensure the desired look.