NukeUI icon indicating copy to clipboard operation
NukeUI copied to clipboard

Can we add play and pause buttons to the video playback?

Open szluyufeng opened this issue 2 years ago • 3 comments

Can we add play and pause buttons to the video playback? And mute and non-mute buttons.

just as Instagram playback.

szluyufeng avatar Aug 29 '21 23:08 szluyufeng

I think the current version of VideoPlayer is very limited. There're number of features that are needed for:

  1. play / pause
  2. overlay for video rect

larryonoff avatar Sep 01 '21 08:09 larryonoff

Hey. Yeah, I think it's a good idea. The initial version was designed to work/look like GIFs or their video replacements usually do in the browser. But it would be great to add some options like displaying play/pause buttons and allowing some UI customization too.

kean avatar Sep 02 '21 11:09 kean

@kean please check my PR https://github.com/kean/NukeUI/pull/21. I started doing some work in this direction.

larryonoff avatar Sep 02 '21 11:09 larryonoff