I am trying to create a reminder using Alexa's Reminder API in my custom Alexa Skill and in the SSML, I am passing the speak tag and in that, I have few words and audio tag too.
const reminderRequest = {
trigger: {
type: 'SCHEDULED_RELATIVE',
offsetInSeconds: '10',
},
alertInfo: {
spokenInfo: {
content: [{
locale: "en-US",
text: "Testing Reminder",
ssml: "<speak>Testing Reminder <audio src='https://vishalsholkaybucket.s3.amazonaws.com/uk_21042020.mp3' /></speak>"
}],
},
},
pushNotification: {
status: 'ENABLED',
},
};
The output to above in my Alexa device is:
Testing
The reminder works properly but when it comes to playing the audio file, it just keeps its light on and doesn't play the audio file, other SSML tags like break etc is working fine but only the audio tag is not working. I was under the impression that SSML tags work everywhere, I tried reading the documentation but it is not clear enough.
Also, if this is not the right approach, can anyone let me know If I can play a short audio file in Alexa's reminder API or is there any way in which I can remind the user along with an audio file.
Thanks in advance.
Edit: I am using Alexa's skill reminders demo. Nothing else is changed just trying to push the above request in the Reminders API.