mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
48 lines
1.0 KiB
Markdown
48 lines
1.0 KiB
Markdown
[youtubei.js](../README.md) / Platform
|
|
|
|
# Class: Platform
|
|
|
|
Defined in: [src/utils/Utils.ts:15](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/utils/Utils.ts#L15)
|
|
|
|
## Constructors
|
|
|
|
### Constructor
|
|
|
|
> **new Platform**(): `Platform`
|
|
|
|
#### Returns
|
|
|
|
`Platform`
|
|
|
|
## Accessors
|
|
|
|
### shim
|
|
|
|
#### Get Signature
|
|
|
|
> **get** `static` **shim**(): [`PlatformShim`](../youtubei.js/namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
Defined in: [src/utils/Utils.ts:20](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/utils/Utils.ts#L20)
|
|
|
|
##### Returns
|
|
|
|
[`PlatformShim`](../youtubei.js/namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
## Methods
|
|
|
|
### load()
|
|
|
|
> `static` **load**(`platform`): `void`
|
|
|
|
Defined in: [src/utils/Utils.ts:16](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/utils/Utils.ts#L16)
|
|
|
|
#### Parameters
|
|
|
|
##### platform
|
|
|
|
[`PlatformShim`](../youtubei.js/namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
#### Returns
|
|
|
|
`void`
|