mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 04:11:47 +00:00
feat: add more type-definitions for youtube-player
Co-authored-by: ArjixWasTaken <53124886+ArjixWasTaken@users.noreply.github.com>
This commit is contained in:
25
types/video-details.ts
Normal file
25
types/video-details.ts
Normal file
@ -0,0 +1,25 @@
|
||||
export interface VideoDetails {
|
||||
video_id: string;
|
||||
author: string;
|
||||
title: string;
|
||||
isPlayable: boolean;
|
||||
errorCode: null;
|
||||
video_quality: string;
|
||||
video_quality_features: unknown[];
|
||||
list: string;
|
||||
backgroundable: boolean;
|
||||
eventId: string;
|
||||
cpn: string;
|
||||
isLive: boolean;
|
||||
isWindowedLive: boolean;
|
||||
isManifestless: boolean;
|
||||
allowLiveDvr: boolean;
|
||||
isListed: boolean;
|
||||
isMultiChannelAudio: boolean;
|
||||
hasProgressBarBoundaries: boolean;
|
||||
isPremiere: boolean;
|
||||
itct: string;
|
||||
progressBarStartPositionUtcTimeMillis: number | null;
|
||||
progressBarEndPositionUtcTimeMillis: number | null;
|
||||
paidContentOverlayDurationMs: number;
|
||||
}
|
||||
Reference in New Issue
Block a user