feat: Add upcoming and live info to playlist videos (#317)

This commit is contained in:
absidue
2023-02-20 22:25:53 +01:00
committed by GitHub
parent 9d352b58eb
commit a0bfe16427
2 changed files with 19 additions and 1 deletions

View File

@@ -5,10 +5,12 @@ class ThumbnailOverlayTimeStatus extends YTNode {
static type = 'ThumbnailOverlayTimeStatus';
text: string;
style: string;
constructor(data: any) {
super();
this.text = new Text(data.text).toString();
this.style = data.style;
}
}