- Example
{
"presets": [
{
"name": "Image slideshow",
"settings": {
"autoplay": true,
"speed": 5,
"transition": "slide"
},
"blocks": [
{
"type": "slide",
"settings": {
"heading": "Welcome to our store",
"text": "<p>Check out our latest products</p>"
}
},
{
"type": "slide",
"settings": {
"heading": "Featured collection",
"text": "<p>Shop our bestsellers</p>"
}
}
]
},
{
"name": "Video slideshow",
"settings": {
"autoplay": true,
"speed": 7
},
"blocks": [
{
"type": "video",
"settings": {
"video_url": "https://www.youtube.com/watch?v=example"
}
}
]
}
]
}
Fields
Presets
Detailed documentation about section presets configuration.
- Example
{
"presets": [
{
"name": "Image slideshow",
"settings": {
"autoplay": true,
"speed": 5,
"transition": "slide"
},
"blocks": [
{
"type": "slide",
"settings": {
"heading": "Welcome to our store",
"text": "<p>Check out our latest products</p>"
}
},
{
"type": "slide",
"settings": {
"heading": "Featured collection",
"text": "<p>Shop our bestsellers</p>"
}
}
]
},
{
"name": "Video slideshow",
"settings": {
"autoplay": true,
"speed": 7
},
"blocks": [
{
"type": "video",
"settings": {
"video_url": "https://www.youtube.com/watch?v=example"
}
}
]
}
]
}
