mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-07-04 03:51:00 +00:00
feat: add ThumbnailOverlayInlineUnplayable renderer
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
const Text = require('./Text');
|
||||
|
||||
class ThumbnailOverlayInlineUnplayable {
|
||||
type = 'ThumbnailOverlayInlineUnplayable';
|
||||
|
||||
constructor(data) {
|
||||
this.text = new Text(data.text).toString();
|
||||
this.icon_type = data.icon.iconType;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ThumbnailOverlayInlineUnplayable;
|
||||
Reference in New Issue
Block a user