Can't get video to display in chatbot embedded in web page

Hi - I’ve taken a bot that I had been rendering in Facebook Messenger and attempted to render it in a web page using the webchat approach (GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront).

I can get text and images to render correctly, but for video I just get the attachment code displayed instead of the video:

Here is the code snippet from the custom action:

               msg={ "type":"video", "payload":{ "title":"Link name", "src": "https://youtube.com/embed/9C1Km6xfdMA" } }
               dispatcher.utter_message(text="surprise",attachment=msg )

Any suggestions?

Hmm, this might could be an issue on botfront’s end. Have you tried the approach discussed in this issue?