Aashrith avatar image
Aashrith asked ·

How to render template after playing a video

Hello ,

I am playing a video using the playVideo directive .When i try to render a template using the syntax mentioned below . Sometimes it is rendering the template and then playing the video and sometimes it is working . I dont know why this is showing a varied behaviour

this.response.speak("Hello).playVideo(URL, metadata) that.emit(":responseReady").renderTemplate(template) .

Where template is a body template 1. My use case is to render a template (Text On screen) after the video is played .

alexanodejsalexa for businessvideo skill apidisplay templates
1 comment
10 |2000 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.

I'm not sure you can render a template automatically after a video plays. I believe it will go back to the template previously rendered before the video is played.

0 Likes 0 ·

0 Answers