mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
feat: Add upcoming and live info to playlist videos (#317)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user