Pictures, gifs and videos are a cool and easy way to make your chatbot more interactive and interesting.
NOTE: Media content is only available when using JennyWidget. In the LeadDesk widget you cannot yet use videos, just images.
Adding pictures and gifs
Pictures and gifs can be added with the same HTML tag to the bot's reply.
First of all find the DIRECT URL of the .gif / .jpg you want to use. This is usually done by right clicking on an image and selecting 'open image in a new tab'. For example the direct URL to GetJenny's logo can be found here.
If you are using Giphy for .gifs, do the same thing: http://giphy.com/gifs/xxx is the wrong type of URL and instead http://media.giphy.com is the correct type.
To add the media, in the bot reply, type <img src=”yourURL” width=”200”> and Widget will load up the selected URL’s image with a fixed width of 200. This width can be changed depending on your liking.
Media content has to be tested in a live widget, bot preview does not show pictures or videos.
Adding videos
Videos have a unique HTML tag called [video]. It is also added to the same place in the bot reply.
We recommend using YouTube for uploading videos. Once you have a video uploaded, you need to use its embed URL. While the standard URL for a YouTube video looks like this: https://www.youtube.com/watch?v=VIDEOHASH
You can easily convert this to an embed URL, which looks like this:
https://www.youtube.com/embed/VIDEOHASH
To add the video in bot's reply, use <video src="EMBEDURL" width="200"> and like with pictures, you can customize the width to your liking.