mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 23:32:32 +00:00
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import { Text } from '../misc.js';
|
|
import { YTNode } from '../helpers.js';
|
|
import { type RawNode } from '../index.js';
|
|
|
|
export default class PlayerOverlayVideoDetails extends YTNode {
|
|
static type = 'PlayerOverlayVideoDetails';
|
|
|
|
public title: Text;
|
|
public subtitle: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
this.subtitle = new Text(data.subtitle);
|
|
}
|
|
} |