st.video(data, format="video/mp4", start_time=0)
data (str, bytes, BytesIO, numpy.ndarray, or file opened with)
io.open(). Raw video data, filename, or URL pointing to a video to load. Includes support for YouTube URLs. Numpy arrays and raw data formats must include all necessary file headers to match specified file format.
The mime type for the video file. Defaults to 'video/mp4'. See https://tools.ietf.org/html/rfc4281 for more info.
The time from which this element should start playing.
Still have questions?
Our forums are full of helpful information and Streamlit experts.