When displaying a local video file using st.video, is there anyway to retrieve the current index (frame) that is being displayed by the media player, or better yet when the user pauses the video? Essentially, is there a way to capture the state of the media player so I know how far into the video the user is?
For context as to why this would be valuable, I’m creating an annotation tool where the annotator will need to record the stopping frame of a particular behavior. That being said, I can display the video and they can pause where the behavior ends, but have no idea what frame they are currently displaying.
Thanks!