OpenVideoPlayerConfiguration class Null safety
- Inheritance
-
- Object
- VideoPlayerConfiguration
- OpenVideoPlayerConfiguration
Constructors
- OpenVideoPlayerConfiguration({VideoPlayerStyle? playerStyle, VideoPlayerCompleteAction? videoCompleteAction, VideoPlayerCTAStyle? ctaButtonStyle, bool? showPlaybackButton, bool? showMuteButton, bool? showBranding, VideoPlayerCTADelay? ctaDelay, VideoPlayerCTADelay? ctaHighlightDelay, VideoPlayerCTAWidth? ctaWidth, VideoPlayerButtonConfiguration? buttonConfiguration, bool? showVideoDetailTitle, bool? enablePictureInPicture})
- OpenVideoPlayerConfiguration.withPlayerConfiguration({VideoPlayerConfiguration? playerConfiguration, bool? enablePictureInPicture})
Properties
-
The host app could use this property to customize the button images of the video player.
Only supported on iOS.
read / writeinherited
- ctaButtonStyle ↔ VideoPlayerCTAStyle?
-
The style of CTA button style. Only supported on iOS.
read / writeinherited
- ctaDelay ↔ VideoPlayerCTADelay?
-
Specifies the delay before showing the CTA.
Defaults to { type: constant, value: 3 }.
read / writeinherited
- ctaHighlightDelay ↔ VideoPlayerCTADelay?
-
Specifies the delay before the highlight animation occurs.
Defaults to { type: constant, value: 2 }.
read / writeinherited
- ctaWidth ↔ VideoPlayerCTAWidth?
-
Specifies the desired width for the Video Player CTA button.
Defaults to fullWidth.
read / writeinherited
- enablePictureInPicture ↔ bool?
-
Specifies if Picture in Picture is enabled.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- playerStyle ↔ VideoPlayerStyle?
-
Sets the proportion of the video player to its container.
Defaults to full.
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
The share base URL of the video.
read / writeinherited
- showBranding ↔ bool?
-
Indicates if Firework branding should be showed or not.
Defaults to true.
read / writeinherited
- showMuteButton ↔ bool?
-
Indicates if the video player shows mute button.
Defaults to true.
read / writeinherited
- showPlaybackButton ↔ bool?
-
Indicates if the video player shows playback button.
Defaults to false on iOS. Default to true on Android.
read / writeinherited
-
Indicates if the video player shows share button.
Defaults to true.
read / writeinherited
- showVideoDetailTitle ↔ bool?
-
Specifies if the video detail title should be showed or not.
Only supported on iOS.
read / writeinherited
- videoCompleteAction ↔ VideoPlayerCompleteAction?
-
Behavior occurring after video is complete.
Defaults to advanceToNext.
read / writeinherited
Methods
-
deepCopy(
) → OpenVideoPlayerConfiguration -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override