Hi @MDS
Perhaps you can take a different approach and use the image carousel component from @jrieke called streamlit-image-select
(see the links below). You can allow users to select an image of interest (where the image can be a screen capture of the video), then use the selected image name to dynamically display the via via the native st.video
method.
Links:
- 🖼️ streamlit-image-select: An image select component for Streamlit
- Demo app https://image-select.streamlit.app/
- st.video - Streamlit Docs
Hope this helps!