seekToPdtTime method

Future<void> seekToPdtTime(
  1. int pdtTimeMs
)

Only supported by Player_Premium (requires the mobile premium license). Jump to the specified PDT time point of the video stream, enabling fast forward, fast rewind, and progress bar seeking. Supported since Player Premium 11.6. @param pdtTimeMs video stream PDT time point, in milliseconds

Implementation

Future<void> seekToPdtTime(int pdtTimeMs) async {
  if (_isNeedDisposed) return;
  await _initPlayer.future;
  await _mc!.invoke<void>('seekToPdtTime', {'value': pdtTimeMs});
}