feat: Implement language filtering and display language information across video components.

This commit is contained in:
kuekhaoyang
2026-02-16 22:08:25 +08:00
parent c8402aedef
commit e95fae4284
11 changed files with 229 additions and 5 deletions
+8
View File
@@ -36,6 +36,7 @@ export interface VideoItem {
vod_actor?: string;
vod_director?: string;
vod_content?: string;
vod_lang?: string;
source: string;
latency?: number; // Response time in milliseconds
}
@@ -57,6 +58,11 @@ export interface TypeBadge {
count: number;
}
export interface LanguageBadge {
lang: string;
count: number;
}
// Episode Information
export interface Episode {
name: string;
@@ -76,6 +82,7 @@ export interface VideoDetail {
vod_director?: string;
vod_content?: string;
type_name?: string;
vod_lang?: string;
episodes: Episode[];
source: string;
source_code: string;
@@ -134,6 +141,7 @@ export interface ApiDetailResponse {
vod_director?: string;
vod_content?: string;
type_name?: string;
vod_lang?: string;
vod_play_from?: string;
vod_play_url?: string;
}>;