How do i display a video using IBM Watson Assistant

别来无恙 提交于 2019-12-02 12:36:59

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!