I am trying to play an audio in my alexa skill with standard
card type.
This is my json output for Alexa.
{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Your Audio will start playing now"
},
"card": {
"type": "Standard",
"title": "Audio One Sample Title",
"text": "Audio One Sample Description",
"image": {
"smallImageUrl": "https://image_url.jpeg",
"largeImageUrl": "https://image_url.jpeg"
}
},
"directives": [
{
"type": "AudioPlayer.Play",
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"url": "https://audio_url.mp3",
"token": "sample_token_1",
"offsetInMilliseconds": 0
}
}
}
],
"shouldEndSession": true
}
}
I can see this card title and description getting displayed on my alexa spot and alexa show, but this title and description disappear once the audio starts. Is there something else I have to add to this json so that these titles remains on the screen even when the audio is playing.