Video Replies

Video replies can be displayed in the Bot UI’s ‘chat-flow’.

You configure these via the 'Custom Payload' reply option, in the Dialogflow console, as a 'Json' formatted response.

If you supply more than one ‘item’ in the Json 'message.video_*' array, an item will be selected at random from your array.

Example - MP4


          

Json

{ "platform": "mindkit", "version": "1.0.0", "message": { "video_mp4": [ { "title": "MP4 Video Example", "url": "https://media.giphy.com/media/7JsEpP2BiFPHYby9GI/giphy.mp4" } ] } }

Example - Youtube


          

Json

{ "platform": "mindkit", "version": "1.0.0", "message": { "video_youtube": [ { "title": "Youtube Video Example", "url": "https://www.youtube.com/watch?v=O1M_iqSBEpA" } ] } }

Example - Vimeo


          

Json

{ "platform": "mindkit", "version": "1.0.0", "message": { "video_vimeo": [ { "title": "Vimeo Video Example", "url": "https://vimeo.com/315528770" } ] } }

This should be sent as a 'custom payload' from Dialogflow