Methods
parseURL(url) → {Object}
Parse a string as a potential YouTube resource URL.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
url |
string
|
Returns:
- Type:
-
Object
Type Definitions
DurationObject
An object containing time period information. All properties are integers, and do not include the lower
precision ones.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
hours |
number
|
<optional> |
How many hours the video is long |
minutes |
number
|
<optional> |
How many minutes the video is long |
seconds |
number
|
<optional> |
How many seconds the video is long |
- Source:
Type:
-
Object