mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-19 18:53:42 +08:00
feat: Implement language filtering and display language information across video components.
This commit is contained in:
@@ -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;
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user