Related Problem:
Hi there, I am trying to build a video trimming component on top of the @vidstack/react package. I would like to dynamically change some state values from the <Player /> component which are exposed through props.
Describe:
Specifically, I think it would be great if the useMediaRemote hook could update the duration, clipStartTime and clipEndTime of the player, essentially I want to play a fragment of a video, update the progress bar and so on.
I could reuse the built-in components for autoplaying and ending the video in the player.
Alternatives:
If I could somehow manipulate the state without prop passing to the <Player />, that would be considered an alternative as well.
Related Problem:
Hi there, I am trying to build a video trimming component on top of the
@vidstack/reactpackage. I would like to dynamically change some state values from the<Player />component which are exposed through props.Describe:
Specifically, I think it would be great if the
useMediaRemotehook could update theduration,clipStartTimeandclipEndTimeof the player, essentially I want to play a fragment of a video, update the progress bar and so on.I could reuse the built-in components for autoplaying and ending the video in the player.
Alternatives:
If I could somehow manipulate the state without prop passing to the
<Player />, that would be considered an alternative as well.