getDuration method
获取视频的长度
Implementation
Future<dynamic> getDuration() async {
return FlutterAliPlayerFactory.methodChannel
.invokeMethod('getDuration', wrapWithPlayerId());
}
获取视频的长度
Future<dynamic> getDuration() async {
return FlutterAliPlayerFactory.methodChannel
.invokeMethod('getDuration', wrapWithPlayerId());
}