streamlit-player icon indicating copy to clipboard operation
streamlit-player copied to clipboard

Future request: setting current video position

Open vanmil opened this issue 1 year ago • 2 comments

Thanks for the great component.

Would it be possible to have the possibility to set the current video position/time from code? Just like you can now control 'pause', 'start' etc, that I could control the current position of the video?

I'm asking because in my use-case I have another component from where I want to select the position, and I want to feed that into the video player to show the correct part of the video.

Thanks!, Jelle

vanmil avatar Aug 04 '22 15:08 vanmil

It's a good feature!
it would be possibile to implement this with the instance method seekTo directly from the React API.

Mortafix avatar Oct 07 '22 09:10 Mortafix

This feature would be amazing!

caviri avatar Nov 21 '22 15:11 caviri