StoryBlockConfiguration class
Constructors
-
StoryBlockConfiguration({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})
-
Properties
-
buttonConfiguration
↔ VideoPlayerButtonConfiguration?
-
The host app could use this property to customize the button images of the video player.
On iOS, the property only applies to full-screen story block but not to compact story block.
getter/setter pair
-
ctaButtonStyle
↔ VideoPlayerCTAStyle?
-
The style of CTA button style.
On iOS, the property only applies to full-screen story block but not to compact story block.
Only supported on iOS.
getter/setter pair
-
ctaDelay
↔ VideoPlayerCTADelay?
-
Specifies the delay before showing the CTA.
getter/setter pair
-
ctaHighlightDelay
↔ VideoPlayerCTADelay?
-
Specifies the delay before the highlight animation occurs.
getter/setter pair
-
ctaWidth
↔ VideoPlayerCTAWidth?
-
Specifies the desired width for the Video Player CTA button.
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.
On iOS, the property only applies to full-screen story block but not to compact story block.
On Android, the property applies to full-screen and compact story block.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shareBaseURL
↔ String?
-
The share base URL of the video.
getter/setter pair
-
showBranding
↔ bool?
-
Indicates if Firework branding should be showed or not.
getter/setter pair
-
showMuteButton
↔ bool?
-
Indicates if the video player shows mute button.
On Android, the property applies to full-screen and compact story block.
Only supported on Android.
getter/setter pair
-
showPlaybackButton
↔ bool?
-
Indicates if the video player shows playback button.
Only supported on Android.
getter/setter pair
-
showShareButton
↔ bool?
-
Indicates if the video player shows share button.
getter/setter pair
-
showVideoDetailTitle
↔ bool?
-
Specifies if the video detail title should be showed or not.
getter/setter pair
-
videoCompleteAction
↔ VideoPlayerCompleteAction?
-
Behavior occurring after video is complete.
On iOS, the property only applies to full-screen story block but not to compact story block.
On Android, the property applies to full-screen and compact story block.
getter/setter pair
-
videoPlayerLogoConfiguration
↔ VideoPlayerLogoConfiguration?
-
Specifies the logo configuration
Defaults to { option: 'disabled' }
Only supported on iOS.
getter/setter pair