Blazorise icon indicating copy to clipboard operation
Blazorise copied to clipboard

Skip part of the video

Open thumaman opened this issue 3 months ago • 5 comments

Is there a feature to skip/rewind 5 or 10 seconds of the video, like in youtube for example?

I saw that there is a rewind and fast-forward option, but is there any event that triggers when the buttons are triggered?

I think it would be a valuable feature to have :)

thumaman avatar Apr 12 '24 06:04 thumaman

I'm not super familiar with the video extension but I can chime in with some observations, @stsrki might complement later,

There's this example with jump to 20s https://bootstrapdemo.blazorise.com/tests/video https://github.com/Megabit/Blazorise/blob/master/Demos/Blazorise.Demo/Pages/Tests/VideoPage.razor

On our docs you can tell there's a controls list https://blazorise.com/docs/extensions/video image image

Have you tried these yet?

David-Moreira avatar Apr 12 '24 08:04 David-Moreira

Yes those worked, thank you, but now I want to catch the event when user presses fast-forward or rewind.

thumaman avatar Apr 12 '24 08:04 thumaman

I don't think there's an event for that. We could consider improving on contextual events. @stsrki

Only workaround I can think off for now, is that you could probably implement your own buttons that do these operations. Downside is that these would live outside the video player I guess.

David-Moreira avatar Apr 12 '24 08:04 David-Moreira

I don't think we have the events specific for fast-forwarding and rewinding. You might experiment with

  • Progress
  • TimeUpdate
  • Seeking

stsrki avatar Apr 12 '24 08:04 stsrki

PS. in the long run, we plan to migrate to the newest video component library. #4914

stsrki avatar Apr 12 '24 08:04 stsrki