Playing video with transcript

I am trying to add a video to my demo that can play with transcript in streamlit. Something like the able player does. https://ableplayer.github.io/ableplayer/demos/video7.html
Is it possible to do that with streamlit right now?

1 Like

Hi @Tripti_Saxena, welcome to the Streamlit community!

Currently, it’s not possible to do this, though another user had already identified subtitles as a potential enhancement to the current video player:

It’s likely the case that this player could be implemented as a Streamlit Component:

https://docs.streamlit.io/en/stable/streamlit_components.html

Hey @Tripti_Saxena

Wanted to update that the latest release 1.32.2 allows you to pass subtitles to st.video!

Check out the feature demo to learn all the details and see it in action. :star_struck:

Looking forward to hearing what you think!

Such a cool new feat! Thanks for sharing, @Jessica_Smith!

1 Like