I am using Node.js Alexa lib: alexa-sdk
I am trying to embed audio in the middle of an SSML response. I am able to add the audio tag at the end of the SSML response, but not in the middle. For example:
<speak> You did great! <audio src='https://s3.amazonaws.com/ask-soundlibrary/human/amzn_sfx_crowd_applause_05.mp3'/> I had a lot of fun, I hope you did too! </speak>
When I send the above as the SSML to speak, Alexa simulator synthesizes "You did great!" and stops there.
Does anyone know what am I doing wrong or how I can make this work? Does embedding audio tag in the middle of the SSML text not work?