mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 11:02:10 +00:00
16 lines
459 B
TypeScript
16 lines
459 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import NavigationEndpoint from './NavigationEndpoint.js';
|
|
|
|
export default class PlayerOverflow extends YTNode {
|
|
static type = 'PlayerOverflow';
|
|
|
|
endpoint: NavigationEndpoint;
|
|
enable_listen_first: boolean;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.endpoint = new NavigationEndpoint(data.endpoint);
|
|
this.enable_listen_first = data.enableListenFirst;
|
|
}
|
|
} |