How do i display a video using IBM Watson Assistant - chatbot

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.

Related

Unable to embed Facebook Live video to website

The website builder I am using is squarespace and I am using the embed block to add a past Facebook Live Video to my site. However, when I add the iframe embed code, I get the message:
Unanavailble. This video can't be embedded because it may contain content own by someone else
Is there some work around for this? The live video is coming from a Facebook Page.

How to send image to Google Form via API by axios or ajax request?

i try to capture a snapshot via video + canvas html5 elements and send the capture image to my Google Forms form. in the form i have an simple value and a file upload (in my example images) option.
how can i sent the capture screen shot to the Google Forms API?
- if some one have example with axios it will be great!
Thank,
Chen.R

IBM watson add video

I would like to add a Video as a Response to my IBM Watson.
As suggested in a previous Topic How do i display a video using IBM Watson Assistant I entered following code line as a text into my Response:
<iframe width="560" height="315" src="https://www.youtube.com/embed/AnmWwudeqfM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
After that I integrated my Watson chatbot into the application Slack in order to see the Video.
Instead of showing the Video as a Response it is showing only the code line.
How can I embed a Video into IBM Watson and Show it in my application Slack?
Slack doesn't offer displaying videos as a response to chatbots. Alternatively add the URL of the video as a response. It's like how ChatGPT displays the answer, just text with no media at all.

What technology Facebook uses for links?

Just wanted to know what technology facebook uses while posting links.
I have noticed that whenever i paste a link on screen, i get the link as a page.
For example,when i paste youtube's link...
it displays as a video and i can play it there only.
Can some one please let me know how it can be done.
what all is needed
What they do is probably to parse the link(regular expressions are useful here), get ID of the movie and embed a player using Youtube API. Here's documentation of the API: https://developers.google.com/youtube/player_parameters

Video embed on timeline with custom open graph object

So the story is this, I added a custom object to my app called Music Video and an action called Watch. I have all the needed meta tags in my pages to show the flash video, the linter reads them perfectly, it says that the type of share for my object is Video also.
If I post it using the like social plugin the flash video shows just fine but with my custom Watch action just shows the thumbnail and no play button, no nothing.
Do you know any example of apps using the new open graph api to embed video?
Facebook currently does not embed Flash video alongside stories generated from the build-in Watch action or on custom actions. Facebook will however embed the video if the URL is organically shared (copy and pasted into the Composer in Facebook) or liked via the Like button.
For now, this means a click on the watch news feed or ticker story will drive the user to your site, where you can authenticate them, play the video, and publish another watch action on their behalf.
I don't know when the changes took effect, but you can check it right here: