Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about set timer #103

Open
drewness9999 opened this issue Mar 5, 2024 · 2 comments
Open

Question about set timer #103

drewness9999 opened this issue Mar 5, 2024 · 2 comments

Comments

@drewness9999
Copy link

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

@a914-gowtham
Copy link
Owner

a914-gowtham commented Mar 5, 2024

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

@drewness9999 You can use this

@drewness9999
Copy link
Author

Thanks it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants