Video str | bytes | BytesIO | BufferedReader, controls: bool = True, muted: bool = False, autoplay: bool = False, loop: bool = False, width: int | None = None, height: int | None = None, rounded: bool = False) Html

Render an video as HTML.



  • src: the URL of the video or a file-like object

  • controls: whether to show the controls

  • muted: whether to mute the video

  • autoplay: whether to autoplay the video. the video will only autoplay if muted is True

  • loop: whether to loop the video

  • width: the width of the video

  • height: the height of the video

  • rounded: whether to round the corners of the video


Html object