- md5
- f157e8940b05f26029257cf23547df61
- sha1
- e39ee6f0e80ee9672a3adf373d9ac2d14f3014b7
- sha256
- 6ff4db886f567b08d45ffcd70146c254b17510a5be9a310b62e67d9fcc00be3a
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "core/playlist",
"title": "Playlist",
"category": "media",
"description": "Embed a simple playlist.",
"keywords": [ "music", "sound" ],
"textdomain": "default",
"allowedBlocks": [ "core/playlist-track" ],
"attributes": {
"type": {
"type": "string",
"default": "audio"
},
"order": {
"type": "string",
"default": "asc"
},
"showTracklist": {
"type": "boolean",
"default": true
},
"showImages": {
"type": "boolean",
"default": true
},
"showPlayButtonArtwork": {
"type": "boolean",
"default": false
},
"showArtists": {
"type": "boolean",
"default": true
},
"showNumbers": {
"type": "boolean",
"default": true
},
"showTrackLength": {
"type": "boolean",
"default": true
},
"waveformStyle": {
"type": "string",
"enum": [ "bars", "mirror", "line", "blocks", "dots", "seekbar" ],
"default": "bars"
},
"waveformColor": {
"type": "string"
},
"waveformGradient": {
"type": "string"
},
"waveformBackgroundColor": {
"type": "string"
},
"waveformBackgroundGradient": {
"type": "string"
},
"caption": {
"type": "string"
}
},
"providesContext": {
"showArtists": "showArtists",
"showImages": "showImages"
},
"supports": {
"anchor": true,
"align": true,
"background": {
"backgroundImage": true,
"backgroundSize": true,
"gradient": true,
"__experimentalDefaultControls": {
"backgroundImage": true,
"gradient": true
}
},
"color": {
"gradients": true,
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"__experimentalBorder": {
"color": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"style": true,
"width": true
}
},
"dimensions": {
"minHeight": true,
"minWidth": true
},
"interactivity": true,
"shadow": true,
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"editorStyle": "wp-block-playlist-editor",
"style": "wp-block-playlist"
}
The same content is in 7 releases, WordPress 7.2-beta1 to 7.2-RC2. See them all, or every version of this file.