YouTube video
Decoration and visibility use Dekorasyon ve görünürlük (BlockShell).
YouTube iframe embed. Optional controls (default false) and loop (default true). When loop is true the embed URL includes playlist=<videoId> — required by YouTube for a single video to actually loop.
Fields
title
Accessible iframe title.
title: [{ if: "*", is: "Product tour" }]action
url
YouTube video URL. Supports watch, short, embed, and youtu.be forms.
action: {
url: "https://www.youtube.com/watch?v=..."
}content
playback
startSeconds
Unit: s
Playback start offset in seconds.
content: {
playback: {
startSeconds: [{ if: "*", is: 30 }]
}
}autoPlay
Start playing automatically when the embed loads.
content: {
playback: {
autoPlay: [{ if: "*", is: false }]
}
}muted
Start muted (required by browsers for autoplay).
content: {
playback: {
muted: [{ if: "*", is: false }]
}
}controls
Show YouTube player chrome. Default false.
content: {
playback: {
controls: [{ if: "*", is: false }]
}
}loop
Loop the video. Appends playlist=videoId automatically. Default true.
content: {
playback: {
loop: [{ if: "*", is: true }]
}
}Default props
{
"shell": {
"visibility": [
{
"if": "*",
"is": true
}
],
"anchor": {
"anchorId": [
{
"if": "*",
"is": ""
}
],
"anchorKey": [
{
"if": "*",
"is": ""
}
]
},
"pointerEvents": [
{
"if": "*",
"is": "auto"
}
]
},
"content": {
"playback": {
"startSeconds": [
{
"if": "*",
"is": 0
}
],
"autoPlay": [
{
"if": "*",
"is": false
}
],
"muted": [
{
"if": "*",
"is": false
}
],
"controls": [
{
"if": "*",
"is": false
}
],
"loop": [
{
"if": "*",
"is": true
}
]
}
}
}