One of my intents triggers the directive to render the document and a directive to run the apl commands. The apl commands include a video which uses onEnd() to execute a SpeakItem command and then executes another video. That other video also uses onEnd() which ends with another SpeakItem command, which is the last apl command in the intent.
Everything runs as expected except that no blue light shows for the user to reply back after that last SpeakItem is run. This makes sense because I have already triggered the main speak() function for the handlerInput and I did not put a reprompt. However, when I do include a reprompt, instead of executing the speak() and then all the directives above, it executes the speak() and then simultaneously plays the first video and the reprompt together, which is not the behavior I would like happening.
Is there a way to make the directives execute first and then execute the speak() and reprompt()? Or is there a way to execute the speak(), then the directives, then the reprompt?