PlatVideo

data class PlatVideo(val url: String, val width: Int, val height: Int, val videoId: String, val duration: Int, val cover: PlatImage)(source)

富文本 - 平台视频属性

参考forum文档

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(url: String, width: Int, height: Int, videoId: String, duration: Int, cover: PlatImage)

Properties

Link copied to clipboard

视频封面图属性

Link copied to clipboard

视频时长

Link copied to clipboard
val height: Int

图片高度

Link copied to clipboard
val url: String

架平图片链接

Link copied to clipboard
@SerialName(value = "video_id")
val videoId: String

视频ID

Link copied to clipboard
val width: Int

图片宽度