Custom size of the embed video file

Hi there,
I want to say thank you for this awesome package the Streamlit dev team has provided to the world.
While i am trying to embed my local video file in my streamlit app, I couldn’t find any API reference on resizing the video, such as changing the height.

with RS_r1col2:
    video_file = open('video.ogv', 'rb')
    video_bytes =

Any idea on how I can change this size?
Thanks for your help.

Hi @rotatingwheel, welcome to the Streamlit community!

Because Streamlit originally targeted the ML community, we assumed that people who wanted to display video were already processing it in some way. To that end, we expected that people would resize/resample their videos using Python.

If you are interested, you can open a feature request on our issues tracker.