How can I get Vimeo videos to autoplay within a Rich Text element of a CMS item in Webflow? I've tried adding a Video element with the URL and also adding embedded code, but it's not working. Any suggestions? Thank you!

TL;DR
  • Get the Vimeo embed code, add ?autoplay=1 to the URL for autoplay, and paste the modified code into the HTML mode of a Rich Text field in Webflow's CMS.
  • Publish the site and verify the Vimeo video autoplays in the Rich Text element.

To autoplay Vimeo videos within a Rich Text element in a CMS item in Webflow, you need to use specific query parameters in the embed code. Here's how to do it:

1. Get the Vimeo Embed Code

  • Go to the Vimeo video you want to embed.
  • Click the Share button on the video.
  • Click on Embed to get the embed code.
  • Copy the iframe embed code provided.

2. Modify the Embed Code for Autoplay

  • You need to add the autoplay parameter to the embed code. In the iframe URL, add ?autoplay=1 to ensure the video plays automatically. 
  • Make sure the adjusted URL looks something like this: https://player.vimeo.com/video/VIDEO_ID?autoplay=1.

3. Add the Modified Embed Code to a Rich Text Element

  • Go to your Webflow project and open the CMS collection where you want to add the video.
  • In the Rich Text field for the specific CMS item, click to edit the content.
  • Switch to the HTML/Embed mode.
  • Paste the modified Vimeo iframe embed code you copied earlier.

4. Publish and Test

  • Publish your site to ensure changes are live.
  • Open the relevant CMS page and verify that the Vimeo video autoplays in the Rich Text element.

Summary

To get Vimeo videos to autoplay in a Rich Text element within a CMS item in Webflow, use the Vimeo embed code with the ?autoplay=1 parameter. Insert this modified embed code into the HTML mode of a Rich Text field. This should allow the video to autoplay successfully.

Rate this answer

Other Webflow Questions