VideoTrim View
Usage
*For a working implementation, please have a look at the Sample Project
-
Add the dependency.
implementation 'com.github.canopas:VideoTrimView:1.0.3'
-
Add VideoTrimView view into your layout.
<com.canopas.trimview.VideoTrimView android:id="@+id/trimView" android:layout_width="match_parent" android:layout_height="70dp"/>
-
Set the video Uri.
trimView.setVideoURI(Uri.parse(path));