android-video-trimmer icon indicating copy to clipboard operation
android-video-trimmer copied to clipboard

Seekbar need to be locked in the Max duration while using with Min to Max TrimType

Open Equin opened this issue 4 years ago • 5 comments

Hi, can you say when this pull request (Added Max Duration #27) will be released ? And did i undesrstand it right. if i will set 10s max duration then users will be able to cut videos up to 10 sec and less ?

Equin avatar Dec 14 '20 22:12 Equin

yeah, you are right. I need to check again the pull request. If everything is ok, I will make a release by 2 days

a914-gowtham avatar Dec 15 '20 02:12 a914-gowtham

Min to a max feature already available in this lib refer readme for other trim types.

TrimVideo.activity(videoUri)
          .setTrimType(TrimType.MIN_MAX_DURATION)
          .setMinToMax(0, 30)  //seconds
          .start(this);

a914-gowtham avatar Dec 15 '20 02:12 a914-gowtham

@a914-gowtham, Oh, i see, but can it be possible to lock that area like with min duration? Right now (min set 10s, max set 5 mins.), when i am moving that seek bar selector to less than 10 seconds - both selectors moving avoiding me to select less then 10 s, but for max duration it is not moving, and i can move it like i want, just Done button becomes not clickable. For users it is not very user friendly

Equin avatar Dec 17 '20 14:12 Equin

Hi @Equin, Now I understand your issue. I felt the same from the beginning. I've used crystal-seekbar as a trimming duration controller which has no option to help with our case. I need to change the seekbar library. I will try to make the seekbar change Asap and this #27 is a fix of a minToMax bug not for max duration issue.

a914-gowtham avatar Dec 19 '20 19:12 a914-gowtham

Is this issue solved? @a914-gowtham

hsinha76 avatar Sep 25 '21 13:09 hsinha76