From the API it reads
data ( str , bytes , BytesIO , numpy.ndarray , or file opened with )
But it doesn’t seem to work if I load the video as a numpy array. Am I using this right?
import numpy as np import streamlit as st t, h, w, c = 10, 20, 20, 3 video = np.random.normal(0, 1, t*h*w*c).reshape((t, h, w, c)) st.video(video)