Advanced Scenes Usage
Last updated
Last updated
BlingsPlayer.create({
// ...
scenes: [{ "lineup": "short flow" }]
})
BlingsPlayer.create({
// ...
scenes: [
"Intro Scene",
{ id: 'Prodcut Scene', data: products[1] },
{ id: 'Prodcut Scene', data: products[2] }
],
data: { user_name: "John" } // Data that exist on scene level will override global data
})
// example data: product 1
{
days_left: 4,
title: "earn 200 bonus points",
description: "Iced Coffee with..",
CTA_link: "link.com/prod1",
image: "images.com/prod1.png"
}// example data: product 2
{
days_left: 4,
title: "$6.99 Breakfat Combo",
description: "Classic Breakfast..",
CTA_link: "link.com/prod2",
image: "images.com/prod2.png"
}