getPlayableDuration method
Get the current playable duration of the video.
获得当前视频的可播放时间
Implementation
Future<double> getPlayableDuration() async {
if (_isNeedDisposed) return 0;
await _initPlayer.future;
DoubleMsg doubleMsg = await _vodPlayerApi.getPlayableDuration(PlayerMsg()..playerId = _playerId);
return doubleMsg.value ?? 0;
}