WistiaPlayerOptions constructor
const
WistiaPlayerOptions({
- bool forceHD = false,
- bool autoPlay = true,
- bool controlsVisibleOnLoad = true,
- bool copyLinkAndThumbnailEnabled = false,
- bool doNotTrack = false,
- String? email,
- EndVideoBehavior endVideoBehavior = EndVideoBehavior.wsDefault,
- bool fakeFullScreen = false,
- FitStrategy fitStrategy = FitStrategy.contain,
- bool fullscreenButton = true,
- bool fullscreenOnRotateToLandscape = true,
- bool googleAnalytics = false,
- dynamic playbackRateControl = true,
- bool playbar = true,
- bool playButton = false,
- String? playerColor,
- String? playlistLinks,
- bool playlistLoop = false,
- bool playsinline = true,
- bool playSuspendedOffScreen = true,
- Preload preload = Preload.auto,
- bool qualityControl = true,
- int qualityMax = 1080,
- int qualityMin = 720,
- dynamic resumable = true,
- bool seo = false,
- bool settingsControl = true,
- dynamic silentAutoPlay = 'allow',
- bool smallPlayButton = false,
- String? stillUrl,
- dynamic time,
- String? thumbnailAltText,
- dynamic videoFoam,
- int volume = 1,
- bool volumeControl = true,
- 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',
});