To embed a clean video with a play button on a website created in Webflow without displaying any extra graphics or suggestions from YouTube or Vimeo, you can utilize the Webflow Video element and custom CSS.
Here's how you can achieve this:
1. Choose a video hosting platform: You have the option to use YouTube or Vimeo to host your video. Both platforms provide options to disable suggested videos and related content at the end of the video playback.
2. Obtain the video's embed code: After uploading your video to YouTube or Vimeo, go to the video's settings and locate the embed code. Customize the settings to disable suggested videos or related content (if available).
3. Add a Video element in Webflow: In the Webflow Designer, drag and drop a Video element onto your desired page or section where you want the video to appear.
4. Paste the embed code: Double-click on the Video element to open the settings panel on the right. Select the Embed tab and paste the video's embed code into the embed code field.
5. Apply custom CSS: To hide any YouTube or Vimeo branding or suggestions, you can write some custom CSS code. Here's an example of the code you can use:
```css
```
To add custom CSS in Webflow, go to the Designer, click on the "Head" tag located at the bottom of the Navigator panel (left side), and paste the code inside the "Head Code" section.
6. Customize the play button (optional): If you prefer a custom play button, you can add an image or use CSS to customize the default play button provided by the video hosting platform. This can be done using additional custom CSS.
7. Preview and publish: After completing the above steps, preview your site to see if the video appears without any additional graphics or suggestions from YouTube or Vimeo. If everything looks good, you can publish your website for the changes to take effect.
Remember to test your website across different devices and browsers to ensure the video displays correctly and remains clean without any unwanted graphics or suggestions.