WistiaPlayerOptions constructor

const WistiaPlayerOptions({
  1. bool forceHD = false,
  2. bool autoPlay = true,
  3. bool controlsVisibleOnLoad = true,
  4. bool copyLinkAndThumbnailEnabled = false,
  5. bool doNotTrack = false,
  6. String? email,
  7. EndVideoBehavior endVideoBehavior = EndVideoBehavior.wsDefault,
  8. bool fakeFullScreen = false,
  9. FitStrategy fitStrategy = FitStrategy.contain,
  10. bool fullscreenButton = true,
  11. bool fullscreenOnRotateToLandscape = true,
  12. bool googleAnalytics = false,
  13. dynamic playbackRateControl = true,
  14. bool playbar = true,
  15. bool playButton = false,
  16. String? playerColor,
  17. String? playlistLinks,
  18. bool playlistLoop = false,
  19. bool playsinline = true,
  20. bool playSuspendedOffScreen = true,
  21. Preload preload = Preload.auto,
  22. bool qualityControl = true,
  23. int qualityMax = 1080,
  24. int qualityMin = 720,
  25. dynamic resumable = true,
  26. bool seo = false,
  27. bool settingsControl = true,
  28. dynamic silentAutoPlay = 'allow',
  29. bool smallPlayButton = false,
  30. String? stillUrl,
  31. dynamic time,
  32. String? thumbnailAltText,
  33. dynamic videoFoam,
  34. int volume = 1,
  35. bool volumeControl = true,
  36. String wmode = 'transparent',
})

Implementation

const WistiaPlayerOptions({
  this.forceHD = false,
  this.autoPlay = true,
  this.controlsVisibleOnLoad = true,
  this.copyLinkAndThumbnailEnabled = false,
  this.doNotTrack = false,
  this.email,
  this.endVideoBehavior = EndVideoBehavior.wsDefault,
  this.fakeFullScreen = false,
  this.fitStrategy = FitStrategy.contain,
  this.fullscreenButton = true,
  this.fullscreenOnRotateToLandscape = true,
  this.googleAnalytics = false,
  this.playbackRateControl = true,
  this.playbar = true,
  this.playButton = false,
  this.playerColor,
  this.playlistLinks,
  this.playlistLoop = false,
  this.playsinline = true,
  this.playSuspendedOffScreen = true,
  this.preload = Preload.auto,
  this.qualityControl = true,
  this.qualityMax = 1080,
  this.qualityMin = 720,
  this.resumable = true,
  this.seo = false,
  this.settingsControl = true,
  this.silentAutoPlay = 'allow',
  this.smallPlayButton = false,
  this.stillUrl,
  this.time,
  this.thumbnailAltText,
  this.videoFoam,
  this.volume = 1,
  this.volumeControl = true,
  this.wmode = 'transparent',
});