Can we loop the video in a selected time range? #1369
Answered
by
mihar-22
ameytessact
asked this question in
Q&A
-
Hi, I have a custom layout in Vidstack React. I want to know if I can programmatically set the video player to loop in a range of time Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Answered by
mihar-22
Aug 1, 2024
Replies: 1 comment 5 replies
-
I don't know what framework you're using but you can set the React example where start is 60 seconds and end is 120 seconds and looped: <MediaPlayer clipStartTime={60} clipEndTime={120} loop> |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah I see, no this feature is not supported out of the box at the moment. You can force the video yourself to loop between those times by subscribing to time updates and pausing/looping as needed.