Get playback position from video?

Is there a way to get the playback position (timestamp) from the video playback in st.video()?

For example, if I want to play a video and show a slideshow based on which part of video is playing, how would you implement that? Thanks.

1 Like

Hi @chang,

I believe this is not currently possible with st.video and can’t think of a suitable workaround, as there is no data being transmitted from the client back to the server about the state of the playing video, nor are there hooks/callbacks on the client to allow this.

Feel free to file an issue to request this functionality.

Cheers