IgVideoPlayer constructor
IgVideoPlayer({
- required String videoUrl,
- required IgPlayerController igPlayerController,
- bool autoPlay = false,
- String artworkUrl = "",
- String title = "IgPlayer",
- String subTitle = "Something Playing",
- int initialPosition = 0,
- double volume = 1.0,
- required void initialValues(
- IgPlayerController controller
- Key? key,
Implementation
IgVideoPlayer({
required this.videoUrl,
required this.igPlayerController,
this.autoPlay = false,
this.artworkUrl = "",
this.title = "IgPlayer",
this.subTitle = "Something Playing",
this.initialPosition = 0,
this.volume = 1.0,
required this.initialValues,
Key? key,
}) : super(key: key);