OpenVideoPlayerConfiguration class

Inheritance

Constructors

OpenVideoPlayerConfiguration({VideoPlayerStyle? playerStyle, VideoPlayerCompleteAction? videoCompleteAction, bool? showShareButton, VideoPlayerCTAStyle? ctaButtonStyle, bool? showPlaybackButton, bool? showMuteButton, bool? showBranding, VideoPlayerCTADelay? ctaDelay, VideoPlayerCTADelay? ctaHighlightDelay, String? shareBaseURL, VideoPlayerCTAWidth? ctaWidth, VideoPlayerButtonConfiguration? buttonConfiguration, VideoPlayerLogoConfiguration? videoPlayerLogoConfiguration, bool? showVideoDetailTitle, ReplayBadgeConfiguration? replayBadgeConfiguration, CountdownTimerConfiguration? countdownTimerConfiguration, bool? enablePictureInPicture})
OpenVideoPlayerConfiguration.withPlayerConfiguration({VideoPlayerConfiguration? playerConfiguration, bool? enablePictureInPicture})

Properties

buttonConfiguration VideoPlayerButtonConfiguration?
The host app could use this property to customize the button images of the video player.
getter/setter pairinherited
countdownTimerConfiguration CountdownTimerConfiguration?
Specifies countdown timer configuration. Only supported on iOS.
getter/setter pairinherited
ctaButtonStyle VideoPlayerCTAStyle?
The style of CTA button style. Only supported on iOS.
getter/setter pairinherited
ctaDelay VideoPlayerCTADelay?
Specifies the delay before showing the CTA. Defaults to { type: constant, value: 3 }.
getter/setter pairinherited
ctaHighlightDelay VideoPlayerCTADelay?
Specifies the delay before the highlight animation occurs. Defaults to { type: constant, value: 2 }.
getter/setter pairinherited
ctaWidth VideoPlayerCTAWidth?
Specifies the desired width for the Video Player CTA button. Defaults to fullWidth.
getter/setter pairinherited
enablePictureInPicture bool?
Specifies if Picture in Picture is enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
playerStyle VideoPlayerStyle?
Sets the proportion of the video player to its container. Defaults to full.
getter/setter pairinherited
replayBadgeConfiguration ReplayBadgeConfiguration?
The configuration of replay badge. Only supported on iOS.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareBaseURL String?
The share base URL of the video.
getter/setter pairinherited
showBranding bool?
Indicates if Firework branding should be showed or not. Defaults to true.
getter/setter pairinherited
showMuteButton bool?
Indicates if the video player shows mute button. Defaults to true.
getter/setter pairinherited
showPlaybackButton bool?
Indicates if the video player shows playback button. Defaults to false on iOS. Default to true on Android.
getter/setter pairinherited
showShareButton bool?
Indicates if the video player shows share button. Defaults to true.
getter/setter pairinherited
showVideoDetailTitle bool?
Specifies if the video detail title should be showed or not.
getter/setter pairinherited
videoCompleteAction VideoPlayerCompleteAction?
Behavior occurring after video is complete. Defaults to advanceToNext.
getter/setter pairinherited
videoPlayerLogoConfiguration VideoPlayerLogoConfiguration?
Specifies the logo configuration Defaults to { option: 'disabled' }
getter/setter pairinherited

Methods

deepCopy() OpenVideoPlayerConfiguration
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override