isVideoPlaying method

Future<bool> isVideoPlaying()

Implementation

Future<bool> isVideoPlaying() async {
  bool result = false;
  try {
    result = await _channel.invokeMethod('isPlaying');
  } on PlatformException catch (e) {
    logger.e("isPlaying error: ${e.details} - ${e.message}");
  }
  return result;
}