Finegrained Control over Embedded Youtube Video

Hi
I’m trying to build an app which displays a Youtube video along with some text below it. I want the Youtube video to be paused after say intervals of 2 minutes and the text to change at that time. Is there a good way to do this? I can’t find any way to pause a st.video component

Hey @Aflah,

st.video doesn’t have a built-in way to pause the video automatically at a certain interval, unfortunately. You might be able to implement this with streamlit-player, a component created by @okld.

2 Likes

Thanks!

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