showVideo method on alexa skill

amazon-alexa

#1

I have a video app that uses the video app interface with the following method on jovo:
this.alexaSkill().showVideo(mediaItems[selectedElement].media_url,mediaItems[selectedElement].title);
after that i just do a this.tell(speakoutput);
and let the video goes.
But I’m getting erratic behaviours. Sometimes it goes directly into the alexa home page and sometimes it kept me in the last apl template wich is a choose video template. I’d like to standardized this behaviour. a this.alexaSkill().shouldEndSession(true) does not work because the video app interface seems to be overriding any other response sent back to the device.
So how can I make it consistent? I mean how can I make it to always close the app when a video finishes?