YouTubeVideoPlayer constructor
const
YouTubeVideoPlayer({
- Key? key,
- required String videoSource,
- YouTubePlayerConfig config = const YouTubePlayerConfig(),
- VoidCallback? onEnded,
- String? viewerCount,
- bool isLive = false,
Implementation
const YouTubeVideoPlayer({
super.key,
required this.videoSource,
this.config = const YouTubePlayerConfig(),
this.onEnded,
this.viewerCount,
this.isLive = false,
});