Help Center
Setup 3 min read · Updated 2026-12-05

Add Commentary to your site

Paste one script tag into your site's head, and the Hear the commentary button shows up on every page that has clips.

Adding Commentary to a site takes one line. Once it's there, visitors see a small Hear the commentary button on any page you've recorded clips for, and nothing at all on pages you haven't.

Commentary is an owner-only tool, so this is for the person who runs the Commentary dashboard. If you want this on your own sites, build your own copy from the Open Recipe and follow the same steps with your own address.

1. Add the site

  1. Sign in at commentary.wynter.ai and open the dashboard.
  2. Under Add a site, type a Name and the Homepage URL, then click Add site.
  3. Click the new site in the Sites list to open it.

You can also ask your AI to do this. See Connect your AI with MCP.

2. Copy the script tag

At the top of the site page there's a box called Add it to the site. Click Copy to copy the script tag.

The site page in the Commentary dashboard showing the embed script tag with a Copy button, and a clip below it

It looks like this:

<script defer src="https://commentary.wynter.ai/embed.js" data-site="your-site"></script>

data-site is your site's slug. It's filled in for you when you copy it.

3. Paste it into your head

Paste the tag inside the <head> of your site. If your site uses a shared layout or template, put it there once so it lands on every page. Then publish your site as usual.

That's all the setup. The button stays hidden until a page has clips, so it's safe to add before you've recorded anything.

Optional settings

You can add two optional attributes to the same tag:

Attribute What it does
data-position="bottom-right" Moves the button to the bottom-right corner. It sits a little higher than usual so it clears a help or feedback button in that corner.
data-accent="#f97316" Changes the accent color used on the play button and progress bar. Use a hex color like #22c55e. If the value isn't a valid hex color, the default orange is used.

For example:

<script defer src="https://commentary.wynter.ai/embed.js" data-site="your-site" data-position="bottom-right" data-accent="#22c55e"></script>

Good to know

  • The button only shows on pages that have at least one clip with Live ticked.
  • New or changed clips show on your site within about a minute.
  • The player sits in its own little box, so your site's styles won't change how it looks, and it won't change yours.
  • Visitors start with it off. Nothing plays until they turn it on and press play. See What Commentary is and how to listen.

Next

Record a clip, then put it on the right page.

Frequently Asked Questions

I added the script but I don't see the button. What's wrong?

The button only shows on pages that have live clips. Check that a clip is placed on that page, that its Live box is ticked, and that the data-site value matches your site's slug exactly.

Do I need a separate script for each page?

No. Add the one script tag to the head of every page, usually through your layout or template. Commentary works out which clips belong on each page.

Will it clash with my chat or feedback button?

Not if you use data-position="bottom-right" when that corner is taken. The default bottom-left spot is usually free anyway.

Does it work on single-page apps?

Yes. It watches for page changes, so when someone moves to a new page the player switches to that page's clips without a reload.

Helpful?
Commentary
Ready to try it or check your settings?

More Commentary guides