2020-07-01 14:29:03 +02:00
|
|
|
{
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-07-01 14:29:03 +02:00
|
|
|
"name": "core/audio",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Audio",
|
2020-07-01 14:29:03 +02:00
|
|
|
"category": "media",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Embed a simple audio player.",
|
|
|
|
"keywords": [ "music", "sound", "podcast", "recording" ],
|
|
|
|
"textdomain": "default",
|
2020-07-01 14:29:03 +02:00
|
|
|
"attributes": {
|
|
|
|
"src": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "audio",
|
|
|
|
"attribute": "src"
|
|
|
|
},
|
|
|
|
"caption": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "html",
|
|
|
|
"selector": "figcaption"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"autoplay": {
|
|
|
|
"type": "boolean",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "audio",
|
|
|
|
"attribute": "autoplay"
|
|
|
|
},
|
|
|
|
"loop": {
|
|
|
|
"type": "boolean",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "audio",
|
|
|
|
"attribute": "loop"
|
|
|
|
},
|
|
|
|
"preload": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "audio",
|
|
|
|
"attribute": "preload"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-07-07 16:43:35 +02:00
|
|
|
"anchor": true,
|
2020-10-20 15:36:16 +02:00
|
|
|
"align": true
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-audio-editor",
|
|
|
|
"style": "wp-block-audio"
|
2020-07-01 14:29:03 +02:00
|
|
|
}
|