Appearance
@line/bot-sdk / FlexVideo
Type Alias: FlexVideo
FlexVideo =
object
Defined in: lib/types.ts:1482
This component draws a video.
Properties
action?
optionalaction:Action
Defined in: lib/types.ts:1523
Action performed when this button is tapped. Specify an action object.
altContent
Defined in: lib/types.ts:1511
Alternative content.
The alternative content will be displayed on the screen of a user device that is using a version of LINE that doesn't support the video component. Specify a box or an image.
- Protocol: HTTPS (TLS 1.2 or later)
- Image format: JPEG or PNG
- Maximum data size: 1 MB
aspectRatio?
optionalaspectRatio:string
Defined in: lib/types.ts:1518
Aspect ratio of the video. {width}:{height} format. Specify the value of {width} and {height} in the range from 1 to 100000. However, you cannot set {height} to a value that is more than three times the value of {width}. The default value is 1:1.
previewUrl
previewUrl:
string
Defined in: lib/types.ts:1499
Preview image URL (Max character limit: 2000)
- Protocol: HTTPS (TLS 1.2 or later)
- Image format: JPEG or PNG
- Maximum data size: 1 MB
type
type:
"video"
Defined in: lib/types.ts:1483
url
url:
string
Defined in: lib/types.ts:1491
Video file URL (Max character limit: 2000)
- Protocol: HTTPS (TLS 1.2 or later)
- Video format: mp4
- Maximum data size: 200 MB