mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 12:31:17 +00:00
feat(parser): Add PlayerOverflow and PlayerControlsOverlay
This commit is contained in:
14
src/parser/classes/PlayerControlsOverlay.ts
Normal file
14
src/parser/classes/PlayerControlsOverlay.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { YTNode } from '../helpers.js';
|
||||
import { Parser, type RawNode } from '../index.js';
|
||||
import PlayerOverflow from './PlayerOverflow.js';
|
||||
|
||||
export default class PlayerControlsOverlay extends YTNode {
|
||||
static type = 'PlayerControlsOverlay';
|
||||
|
||||
overflow: PlayerOverflow | null;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.overflow = Parser.parseItem(data.overflow, PlayerOverflow);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user