Skip to content

Instantly share code, notes, and snippets.

@tizisdeepan
Created August 22, 2019 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tizisdeepan/975fe28030e196dd9a80c76703fb765f to your computer and use it in GitHub Desktop.
Save tizisdeepan/975fe28030e196dd9a80c76703fb765f to your computer and use it in GitHub Desktop.
videoTrimmer.setTextTimeSelectionTypeface(FontsHelper[this, FontsConstants.SEMI_BOLD])
.setOnTrimVideoListener(this)
.setOnVideoListener(this)
.setVideoURI(Uri.parse(path))
.setVideoInformationVisibility(true)
.setMaxDuration(10)
.setMinDuration(2)
.setDestinationPath(Environment.getExternalStorageDirectory().toString() + File.separator + "temp" + File.separator + "Videos" + File.separator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment