isAutoplay method
Checks if the player is in autoplay mode.
Returns true if autoplay is enabled, otherwise false.
Implementation
Future<bool?> isAutoplay() async {
return await TargetvideoFlutterPluginPlatform.instance.isAutoplay(playerReference);
}