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.
import chainlit as cl@cl.on_chat_startasync def main(): elements = [ cl.Video(name="example.mp4", path="./example.mp4", display="inline"), ] await cl.Message( content="Here is an video file", elements=elements, ).send()