feat: Implement danmaku (bullet comments) functionality with API integration, settings, and player display.

This commit is contained in:
kuekhaoyang
2026-02-17 10:21:07 +08:00
parent b11463a347
commit df37806de7
19 changed files with 829 additions and 5 deletions
+17
View File
@@ -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[];
}