How to upload a video like mp4 via st.file_uploader and show it in exploer?

This way is work

import streamlit as st
file = st.file_uploader("请上传你要处理的mp4视频文件", type=["mp4"])
if file is not None:
      st.video(file)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.