I'm using NodeJs "ask-sdk-core" version 2.7.0 to play a video on my custom Skill. This is the code snippet that's currently working:
return handlerInput.responseBuilder .addVideoAppLaunchDirective(video_url, video_title, video_subtitle) .getResponse();
With the code above the video is properly played. (So, no issues with urls or formats)
Now, I'd like to send a Standard Card to the companion app with detailed information related to the video and I've updated the code like the following (just adding withStandardCard):
return handlerInput.responseBuilder .withStandardCard(cardTitle, cardContent, image_url) .addVideoAppLaunchDirective(video_url, video_title, video_subtitle) .getResponse();
However, in this case the video is not played, instead, the Card is shown in the Echo device!
According to this dev doc : "To view the cards, open the Alexa app and navigate to the Activity page. Cards can also display on an Alexa-enabled device with a screen, such as an Echo Show, if your skill does not include content specifically intended for the screen".
Since I'm sending a video (which is specifically intended for a screen) I assume the Card would go to the Alexa App not the Echo device.
Has anyone encountered this issue before? Or is there something wrong with the code I'm using?
Thanks in advance,