mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-09 07:46:05 +08:00
feat: add DanmakuItem type
This commit is contained in:
@@ -94,3 +94,11 @@ export interface HeatmapResponse {
|
|||||||
timestamp: number;
|
timestamp: number;
|
||||||
pb_data: string;
|
pb_data: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface DanmakuItem {
|
||||||
|
time: number; // 秒(float),弹幕出现时间
|
||||||
|
mode: 1 | 4 | 5; // 1=滚动, 4=底部固定, 5=顶部固定
|
||||||
|
fontSize: number;
|
||||||
|
color: number; // 0xRRGGBB 十进制整数
|
||||||
|
text: string;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user