Capture youtube video

Hi, I am newbie’s streamlit, I have no knowledge of frontend, so I don’t know how to make a button capture of youtube video. I want to create application like below image, I’m doing it quite manually using video-screenshot

This my code:

st.video(url)

if st.button("Capture this frame"):
	# capture frame of video and show image:
	st.image(frame)

Can anyone help me create a button with such function, thanks a lot

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