VideoBlock class
Displays an embedded video player.
A video
block is designed to embed videos in all app surfaces (e.g. link unfurls, messages, modals, App Home) - anywhere you can put blocks.
Constructors
Properties
- altText → String?
-
A tooltip for the video.
final
-
Author name to be displayed.
Must be less than 50 characters.
final
- description → String?
-
Description for video in plain text format.
Must be less than 200 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerIconUrl → String?
-
Icon for the video provider.
final
- providerName → String?
-
The originating application or domain of the video.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnailUrl → String
-
The thumbnail image URL.
final
- title → String
-
Video title in plain text format.
Must be less than 200 characters.
final
- titleUrl → String?
-
Hyperlink for the title text.
Must correspond to the non-embeddable HTTPS URL for the video.
final
- videoUrl → String
-
The URL to be embedded.
Must match any existing unfurl domains within the app and point to a HTTPS URL.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited