简体   繁体   中英

How do i display a video using IBM Watson Assistant

I have create a Chat bot using IBM Watson Assistant and i need to load an video for some responses. How do i embed a video into the chat bots' response?

You can use HTML tags to embed a video into the response box as shown below:

在此处输入图片说明

Please note that HTML tags won't work in the Try It Out panel but will definitely be rendered in the application.

If you are looking for dynamic content, then you will have to pass context to the application side and then render video from there.

Appreciate to suggest how to play the video on Alexa Echo Show device too.IBM Watson Assistant is being used in the backend. While using your mentioned HTML tags to embed a video into the response box as described by you in IBM Watson Assistant. It is perfectly working in user interface chat window. But while testing it on Alexa Echo Show device. There is challenge to play the video.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM