isPlaying method

Future<bool> isPlaying()

Verifica si el video está reproduciéndose

Implementation

Future<bool> isPlaying() async {
  try {
    final playing = await _methodChannel.invokeMethod('isPlaying');
    return playing as bool? ?? false;
  } catch (e) {
    debugPrint('[NativeVideoPlayer] Error al verificar reproducción: $e');
    return false;
  }
}