获取视频的长度
Future<int> getDuration() async { int value = await FlutterAliPlayerFactory.methodChannel .invokeMethod('getDuration', wrapWithPlayerId()); return value; }