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

Question about set timer

Open drewness9999 opened this issue 1 year ago • 2 comments

I was able to import but what if your trying to do a set duration (similar to whatsapp stories). 10 second minimum and a 90 second maximum?

Any ideas?

imageedit_1_9179818240

drewness9999 avatar Mar 05 '24 01:03 drewness9999

// TrimType.MIN_MAX_DURATION
TrimVideo.activity(videoUri)
          .setTrimType(TrimType.MIN_MAX_DURATION)
          .setMinToMax(10, 90)  //seconds
          .start(this,startForResult);

@drewness9999 You can use this

a914-gowtham avatar Mar 05 '24 04:03 a914-gowtham

Thanks it works

drewness9999 avatar Mar 05 '24 08:03 drewness9999