question

Dyung Ngo avatar image
Dyung Ngo asked

How do I continue within the Alexa skill after playing audio

Hi,
I am using the audioPlayerPlay method to play an audio from S3. It works fine but it then leaves the skill. How do I keep interacting with the skill afre playing an audio file.

I copied the below from a public solution:

this.response.speak("hello").audioPlayerPlay("REPLACE_ALL", clip1, "1", null, 0).listen("world");

alexa skills kitaudioaudioplayer
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rokas avatar image
Rokas answered

Unfrotunatley there is no way to do that. After audio player stops playing, session closes. I think you can add this as a feature request at alexa uservoice: (link)

10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anand@Amazon avatar image
Anand@Amazon answered

Hello Developer,

As it's rightly mentioned by @RokasV currently this is not possible as sessions gets closed after completing audio file. You can raise this feature to our idea space here.

10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.