mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 15:52:13 +00:00
chore: clean up build steps
This commit is contained in:
16
src/parser/classes/PlayerOverlay.js
Normal file
16
src/parser/classes/PlayerOverlay.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import Parser from '../index';
|
||||
|
||||
import { YTNode } from '../helpers';
|
||||
|
||||
class PlayerOverlay extends YTNode {
|
||||
static type = 'PlayerOverlay';
|
||||
constructor(data) {
|
||||
super();
|
||||
this.end_screen = Parser.parse(data.endScreen);
|
||||
this.autoplay = Parser.parse(data.autoplay);
|
||||
this.share_button = Parser.parse(data.shareButton);
|
||||
this.add_to_menu = Parser.parse(data.addToMenu);
|
||||
this.fullscreen_engagement = Parser.parse(data.fullscreenEngagement);
|
||||
}
|
||||
}
|
||||
export default PlayerOverlay;
|
||||
Reference in New Issue
Block a user