Skip to content

Commit

Permalink
Mark which attributes of the video should be considered content (#44038)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Sep 12, 2022
1 parent 0d4bd6a commit 6918aea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/block-library/src/video/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"caption": {
"type": "string",
"source": "html",
"selector": "figcaption"
"selector": "figcaption",
"__experimentalRole": "content"
},
"controls": {
"type": "boolean",
Expand All @@ -27,7 +28,8 @@
"default": true
},
"id": {
"type": "number"
"type": "number",
"__experimentalRole": "content"
},
"loop": {
"type": "boolean",
Expand Down Expand Up @@ -58,7 +60,8 @@
"type": "string",
"source": "attribute",
"selector": "video",
"attribute": "src"
"attribute": "src",
"__experimentalRole": "content"
},
"playsInline": {
"type": "boolean",
Expand All @@ -67,6 +70,7 @@
"attribute": "playsinline"
},
"tracks": {
"__experimentalRole": "content",
"type": "array",
"items": {
"type": "object"
Expand Down

0 comments on commit 6918aea

Please sign in to comment.