wp/wp-includes/blocks/video/block.json
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    16 		},
    16 		},
    17 		"caption": {
    17 		"caption": {
    18 			"type": "rich-text",
    18 			"type": "rich-text",
    19 			"source": "rich-text",
    19 			"source": "rich-text",
    20 			"selector": "figcaption",
    20 			"selector": "figcaption",
    21 			"__experimentalRole": "content"
    21 			"role": "content"
    22 		},
    22 		},
    23 		"controls": {
    23 		"controls": {
    24 			"type": "boolean",
    24 			"type": "boolean",
    25 			"source": "attribute",
    25 			"source": "attribute",
    26 			"selector": "video",
    26 			"selector": "video",
    27 			"attribute": "controls",
    27 			"attribute": "controls",
    28 			"default": true
    28 			"default": true
    29 		},
    29 		},
    30 		"id": {
    30 		"id": {
    31 			"type": "number",
    31 			"type": "number",
    32 			"__experimentalRole": "content"
    32 			"role": "content"
    33 		},
    33 		},
    34 		"loop": {
    34 		"loop": {
    35 			"type": "boolean",
    35 			"type": "boolean",
    36 			"source": "attribute",
    36 			"source": "attribute",
    37 			"selector": "video",
    37 			"selector": "video",
    54 			"source": "attribute",
    54 			"source": "attribute",
    55 			"selector": "video",
    55 			"selector": "video",
    56 			"attribute": "preload",
    56 			"attribute": "preload",
    57 			"default": "metadata"
    57 			"default": "metadata"
    58 		},
    58 		},
       
    59 		"blob": {
       
    60 			"type": "string",
       
    61 			"role": "local"
       
    62 		},
    59 		"src": {
    63 		"src": {
    60 			"type": "string",
    64 			"type": "string",
    61 			"source": "attribute",
    65 			"source": "attribute",
    62 			"selector": "video",
    66 			"selector": "video",
    63 			"attribute": "src",
    67 			"attribute": "src",
    64 			"__experimentalRole": "content"
    68 			"role": "content"
    65 		},
    69 		},
    66 		"playsInline": {
    70 		"playsInline": {
    67 			"type": "boolean",
    71 			"type": "boolean",
    68 			"source": "attribute",
    72 			"source": "attribute",
    69 			"selector": "video",
    73 			"selector": "video",
    70 			"attribute": "playsinline"
    74 			"attribute": "playsinline"
    71 		},
    75 		},
    72 		"tracks": {
    76 		"tracks": {
    73 			"__experimentalRole": "content",
    77 			"role": "content",
    74 			"type": "array",
    78 			"type": "array",
    75 			"items": {
    79 			"items": {
    76 				"type": "object"
    80 				"type": "object"
    77 			},
    81 			},
    78 			"default": []
    82 			"default": []