0

https://www.amazon.com/dp/B07GB24XSZ/?tag=stackoverflow17-20

I want to play song one after one. Now I am able to play one mp3 at a time, but I want to play 10 mp3 one after one.

PlayMusicIntent': function() {
        const songArr = data;
        const songIndex = Math.floor(Math.random() * songArr.length);
        const randomSong = songArr[songIndex];
        this.emit(':tell','Playing Laugh Music, <audio src=randomSong/>');
    }

Also Hi, I have created my first alexa app but its not showing in Indian store. (amazon.in) Any reason? Did I missed anything while uploading this ?

Rajneesh071
  • 30,846
  • 15
  • 61
  • 74

1 Answers1

0

Use AudioPlayer interface which provides directives and requests for streaming audio and monitoring playback progression. You have to enable this Audio Player interface in developer console.

More information on Audio Player here

An example skill using
nodejs-sdk-v1
nodejs-sdk-v2

Your skill Laugh Machine only supports en-US, English (US) locale.
Add en-IN English (IN) support, just configure the skill under English (IN) as you did for English (US). Both your locale can point to the same Lambda function if you want.

johndoe
  • 4,387
  • 2
  • 25
  • 40