Is anyone else finding st.video NOT WORKING for their own mp4 video files, but IS WORKING for youtube urls.
I have tried my best to figure this one out, but hitting a wall now after lots of tries.
I’m using code just as in the API (below), and made sure my test video sample is H.264 encoded, and is routed to the folder where the file is, so I think I’ve avoided all simple mistakes. Interestingly, the Streamlit API webpage video is no longer showing the lovely starry night sky video it did a few months back (both on my laptop and my phone) which has prompted me to think it could be Streamlit rather than me?!
video_file = open(‘myvideo.mp4’, ‘rb’)
video_bytes = video_file.read()
Is it me, or maybe there is system bug?!
Any suggestions very welcome as I want to avoid using Youtube as a middle man.