@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
15 lines • 545 B
JavaScript
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
class ChannelVideoPlayer extends YTNode {
constructor(data) {
super();
this.id = data.videoId;
this.title = new Text(data.title);
this.description = new Text(data.description);
this.view_count = new Text(data.viewCountText);
this.published_time = new Text(data.publishedTimeText);
}
}
ChannelVideoPlayer.type = 'ChannelVideoPlayer';
export default ChannelVideoPlayer;
//# sourceMappingURL=ChannelVideoPlayer.js.map