mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
222 lines
5.4 KiB
Markdown
222 lines
5.4 KiB
Markdown
[youtubei.js](../../../README.md) / [Misc](../README.md) / VideoDetails
|
|
|
|
# Class: VideoDetails
|
|
|
|
## Constructors
|
|
|
|
### new VideoDetails()
|
|
|
|
> **new VideoDetails**(`data`): [`VideoDetails`](VideoDetails.md)
|
|
|
|
#### Parameters
|
|
|
|
• **data**: [`RawNode`](../../APIResponseTypes/type-aliases/RawNode.md)
|
|
|
|
#### Returns
|
|
|
|
[`VideoDetails`](VideoDetails.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:26](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L26)
|
|
|
|
## Properties
|
|
|
|
### allow\_ratings
|
|
|
|
> **allow\_ratings**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L13)
|
|
|
|
***
|
|
|
|
### author
|
|
|
|
> **author**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:15](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L15)
|
|
|
|
***
|
|
|
|
### channel\_id
|
|
|
|
> **channel\_id**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:6](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L6)
|
|
|
|
***
|
|
|
|
### duration
|
|
|
|
> **duration**: `number`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L8)
|
|
|
|
***
|
|
|
|
### id
|
|
|
|
> **id**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:5](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L5)
|
|
|
|
***
|
|
|
|
### is\_crawlable
|
|
|
|
> **is\_crawlable**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:21](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L21)
|
|
|
|
***
|
|
|
|
### is\_live
|
|
|
|
> **is\_live**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:17](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L17)
|
|
|
|
***
|
|
|
|
### is\_live\_content
|
|
|
|
> **is\_live\_content**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:18](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L18)
|
|
|
|
***
|
|
|
|
### is\_live\_dvr\_enabled
|
|
|
|
> **is\_live\_dvr\_enabled**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:19](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L19)
|
|
|
|
***
|
|
|
|
### is\_low\_latency\_live\_stream
|
|
|
|
> **is\_low\_latency\_live\_stream**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:23](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L23)
|
|
|
|
***
|
|
|
|
### is\_owner\_viewing
|
|
|
|
> **is\_owner\_viewing**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:10](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L10)
|
|
|
|
***
|
|
|
|
### is\_post\_live\_dvr
|
|
|
|
> **is\_post\_live\_dvr**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:22](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L22)
|
|
|
|
***
|
|
|
|
### is\_private
|
|
|
|
> **is\_private**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:16](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L16)
|
|
|
|
***
|
|
|
|
### is\_upcoming
|
|
|
|
> **is\_upcoming**: `boolean`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:20](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L20)
|
|
|
|
***
|
|
|
|
### keywords
|
|
|
|
> **keywords**: `string`[]
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L9)
|
|
|
|
***
|
|
|
|
### live\_chunk\_readahead?
|
|
|
|
> `optional` **live\_chunk\_readahead**: `number`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:24](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L24)
|
|
|
|
***
|
|
|
|
### short\_description
|
|
|
|
> **short\_description**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L11)
|
|
|
|
***
|
|
|
|
### thumbnail
|
|
|
|
> **thumbnail**: [`Thumbnail`](Thumbnail.md)[]
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L12)
|
|
|
|
***
|
|
|
|
### title
|
|
|
|
> **title**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:7](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L7)
|
|
|
|
***
|
|
|
|
### view\_count
|
|
|
|
> **view\_count**: `number`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/VideoDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/VideoDetails.ts#L14)
|