Elements
Video
The Video
class allows you to display an video player for a specific video file in the chatbot user interface.
You must provide either an url or a path or content bytes.
Attributes
name
str
The name of the video file to be displayed in the UI. This is shown to users.
display
ElementDisplay
Determines where the element should be displayed in the UI. Choices are “side” (default), “inline”, or “page”.
url
str
The remote URL of the video.
path
str
The local file path of the video.
content
bytes
The file content of the video in bytes format.