问题
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?
回答1:
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.
回答2:
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.
来源:https://stackoverflow.com/questions/50409269/how-do-i-display-a-video-using-ibm-watson-assistant