> For the complete documentation index, see [llms.txt](https://docs.firework.com/firework-for-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firework.com/firework-for-developers/web/integration-guide/video-customization/cta-button-configuration-1.md).

# Product cards

It is possible to clear or add additional product cards to the video. Event detail video action `update` provides `videoFactory` which can be used to build a new video object to replace current video.

More about [product factory](/firework-for-developers/web/integration-guide/shopping-integration-v2/product-factory.md) and [custom events](/firework-for-developers/web/integration-guide/events/video-player-events.md).

Example:

```javascript
document.addEventListener('fw:video:impression', function (event) {
  event.detail.actions.video.update(({ videoFactory }) =>
    videoFactory((videoBuilder) =>
      videoBuilder
        .clearProducts()
        .product(productBuilder => 
          productBuilder
            .name('A Warm Hat')
            .url(/* ... */)
            // ... see more about product factory, follow the link above
        )
        .product(/* ... */)
    )
  )
})
```
