SDK settings - Full definition of the available SDK and player settings
Code-Pen MVP
Here's a working version for the demo project, run pen and click on HTML and JS to play with the code:
Dynamic data
Now, we can play with some dynamic data for this scene. For that, pass data object to the create function:
The data must match the specific configuration of your project.
Each project has its own data schema, defined either in Blings Studio (right sidebar) or in the Blings Platform under Settings → Dynamic Data.
Scenes
For each project, there might be multiple video scenes that can be connected to create one longer video.
For example, the DEMO-SDK project has four scenes that can create different videos on demand.
You can pass scenes directly to the SDK and implement any business logic to select the relevant scenes for each user.
Alternatively, you can use the Blings Platform Flow Map – a no-code solution that lets you define basic logic and create scene flows visually.
Example: a flow map with a basic condition that adds the “gentle nudge” scene for users who haven’t purchased within the last 7 days.
For advanced use of scenes, including using scene flow maps, and passing data to each scene directly for reusability - check Advanced Scenes Usage
Other kinds of data
Note that the "image_scene" in this demo, is interactive with a CTA button, and you can pass the redirect URL for this button. You can also pass a URL for an image that will replace the dog image, and the theme color for the video, from Blings' pink to whatever color you prefer.
Try playing with:
note: Dynamic parameters are defined per project, and a specific API will be provided separately for each project.