Get the total duration of the video
Future<Duration> getDuration() async { final durationInMilliseconds = await _nativeApi.getDuration(); return Duration(milliseconds: durationInMilliseconds); }