> For the complete documentation index, see [llms.txt](https://docs.famewall.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.famewall.io/testimonial-widget-settings/carousel-autoplay.md).

# How to make your testimonial carousel slide automatically (autoplay)

Make your testimonial carousel move to the next card on its own. Autoplay is switched on through a special version of the carousel embed code.

By default, visitors move through your carousel with the arrows or dots. If you'd like it to move on its own, use the autoplay version of the carousel embed code. There's no switch in the widget settings for this; it's all in the code.

## Steps

1. Open your wall and click **Testimonial Widget**.
2. Make sure the widget is published, then click **Get Embed**.
3. Click **Carousel Embed** on the left.
4. Scroll to **For moving carousel cards automatically, use this autoplay embed code** and click the **Copy Embed code** button under it.
5. On your website, replace your current carousel code with the code you copied.

<figure><img src="https://2234661409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwC4Q7ClSbJAc9WcmAoGA%2Fuploads%2Fgit-blob-ae752878ba7b659e40f8f0df692d7c6a03cb1e39%2Fw-embed-carousel-autoplay.png?alt=media" alt="The Carousel Embed tab of the Embed Widget window, with the autoplay embed code and its Copy Embed code button"><figcaption><p>The second code on the Carousel Embed tab is the autoplay version</p></figcaption></figure>

The only difference from the normal carousel code is `data-autoplay="1"`. If you prefer, you can add that attribute to your existing code instead.

## How autoplay behaves

* The carousel moves to the next card every 4 seconds. The speed can't be changed.
* It pauses while a visitor's mouse is over it.
* Once a visitor clicks an arrow or a dot, or swipes, autoplay stops so they can read at their own pace.
* After the last card, it goes back to the first.

## Good to know

* Autoplay only works with the carousel layout. The dual slider always moves on its own, and the grid doesn't move.
* Your other widget settings, like colours and card design, still come from the dashboard, so you don't need to replace the code again after changing them.

## Related

* [How to switch your widget between Grid, Carousel and Dual Slider](/testimonial-widget-settings/switch-widget-layout.md)
* [How to make all carousel cards the same height](/testimonial-widget-settings/carousel-equal-card-height.md)
* [Publishing and Viewing your Testimonial Widget](/publishing-and-viewing-your-testimonial-widget.md)
