Skip to main content
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

str
The name of the video file to be displayed in the UI. This is shown to users.
ElementDisplay
Determines where the element should be displayed in the UI. Choices are “side” (default), “inline”, or “page”.
str
The remote URL of the video.
str
The local file path of the video.
bytes
The file content of the video in bytes format.

Example