I'm currently new into nodejs, but I've been trying to make an Alexa Skill using the Nodejs Trivia Sample provided on GitHub.
Nothing has been modified in the code, just the content (questions). The change is, instead of Question (words), I would like to to play Audio MP3. That should/is possible using SSML Audio
I tried to do that, but my Skill wouldn't work that way, won't even start.
Here's original sample:
{
'What Makes Santa\'s Reindeer Fly?': [
'Magical Reindeer Dust',
'Fusion',
'Amanita muscaria',
'Elves',
],
},
What I did, using the Audio SSML:
{
'<audio src="link_to_the.mp3' />": [
'Magical Reindeer Dust',
'Fusion',
'Amanita muscaria',
'Elves',
],
},
The github source: https://github.com/alexa/skill-sample-nodejs-trivia/tree/en-US/lambda/custom
What am I doing wrong here? It's supposed to work, right?