mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-22 04:03:42 +08:00
feat: Implement danmaku (bullet comments) functionality with API integration, settings, and player display.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export interface DanmakuComment {
|
||||
text: string;
|
||||
time: number; // seconds from video start
|
||||
color?: string; // hex color, default white
|
||||
type?: 'scroll' | 'top' | 'bottom'; // default 'scroll'
|
||||
}
|
||||
|
||||
export interface DanmakuEpisode {
|
||||
episodeId: string | number;
|
||||
episodeTitle: string;
|
||||
}
|
||||
|
||||
export interface DanmakuSearchResult {
|
||||
animeId: string | number;
|
||||
animeTitle: string;
|
||||
episodes: DanmakuEpisode[];
|
||||
}
|
||||
Reference in New Issue
Block a user