# Dynamic User Content

<figure><img src="https://999368018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeUEXebzbGrW0ccGislJe%2Fuploads%2FdE2kIHPqN0yT7YppVbTc%2FScreen_Recording_2025_01_29_at_12_35_10.gif?alt=media&#x26;token=b982ecc9-c3ee-4a3b-93dd-f4558a0e7548" alt=""><figcaption></figcaption></figure>

based on clicks, you can seamlessly  swap or change video content, with this simple snippet

```javascript
async ({ data, inputs, element, event, player, jumpTypes }) => {
  // Fill in data field name (dataField1), and after that the content you want to push into it ("data content1")
  data.dataField1 = "data content1";
    data.dataField2 = "data content2";

  
    return {
    // Fill in the new scene lineup, after the user clicks the button.
    scenes: ["sceneName","sceneName2"],

    // both optional. pre fill with the non-advanced config, when switching to advanced
    jumpType: jumpTypes.sceneStart,
    jumpValue: "sceneName",
    data
  }
}
  
```
