Content - Video
The video content type presents a distinct message with a video file and an optional title.
caution
This content type is only supported in Botpress Webchat and Vonage.
The users can:
- play the video;
- pause it when needed;
- modify the sound level;
- zoom in the video;
- download the video;
- change the playback speed;
- have a picture in picture (a pop-up with the video will appear).
Add a Video in a Node
- In the Flow Editor, click the node where you want to add your video.
- Choose where to put your video: On Enter, On Receive, or Transitions.
- Click the + button.
- Under Message, click the box.
- In the Pick Content dialog, under Search In, select Video.
- You can either:
- Select an existing video in the list.
info
This will bring you directly to step 5.
- Click Create new Video.
- Select an existing video in the list.
- A new window will be displayed where you can modify the following options:
- The Video box.
- The Title box.
- The Show typing indicators radio button.
- Click Submit.
- Click Add Action (Alt+Enter).
Options
When adding a Video content, you can modify some options:
tip
When hovering a box where you can type, the </>
symbol appears. This button helps you easily insert variables within your message. When you click it, it shows a list of variables that you can use such as temp.
, user.
, session.
, or event.
.
Video
There are two ways to add a video:
- Under Video, click the square with an up arrow. Then, you can choose which video you want to add there from your storage.
- Under Video, click the Or enter URL button at the bottom right of the square. A box will appear and you can type the URL of your video.
info
When loading a video from a variable URL, you might need to use triple braces.
Example: {{{temp.imageUrl}}}
Title
This is a box where you can add a title to your video.
Best Practice
Your title should be short, precise, and relevant.
Show Typing Indicators
The radio button is checked by default. You can uncheck it.
When your user is chatting with the chatbot, they will see the icon (a bubble with three moving dots) while the chatbot is "typing" before receiving an answer.