loadVideo method
Loads a video using the path provided.
Returns the loaded video file.
Implementation
Future<void> loadVideo({required File videoFile}) async {
currentVideoFile = videoFile;
_videoPlayerController = VideoPlayerController.file(currentVideoFile);
await _videoPlayerController.initialize().then((_) {
_controller.add(TrimmerEvent.initialized);
});
// if (videoFile.existsSync()) {
//
// }
}