Renders an embedded audio player for a given URL.
| Surface | Note |
|---|---|
| googlechat | Renders as a clickable link to the audio file, no embedded player. |
| Renders as a clickable link to the audio file, no embedded player. |
| Field | Type | |
|---|---|---|
| audio_url | string | required |
| title | string | required |
| autoplay | boolean | required |
| loop | boolean | required |
{
"type": "audio_player",
"audio_url": "https://example.com",
"title": "Audio Player",
"autoplay": true,
"loop": true
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:audio_player",
"displayName": "Audio Player",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/audio_player",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Renders an embedded audio player for a given URL.",
"representativeQueries": [
"show a inline audio player with controls",
"renders an embedded audio player for a given url.",
"render a audio player"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →