PlayerConfig constructor

const PlayerConfig({
  1. bool autoPlay = true,
  2. bool loop = false,
  3. Map<String, String>? headers,
  4. String? cachePath,
  5. double progressInterval = 1,
  6. int? startTime,
  7. Map<String, dynamic>? auth,
  8. bool supportBackground = false,
})

Implementation

const PlayerConfig({
  this.autoPlay = true,
  this.loop = false,
  this.headers,
  this.cachePath,
  this.progressInterval = 1,
  this.startTime,
  this.auth,
  this.supportBackground = false,
});