Extra methods for Youtube.
Get the default params with optional extra params.
options
[options]
Object
Optional
Options
The default Youtube params.
Builds a youtube search url then returns the results as the first argument of the specified callback.
playlistId
callback
playlistId
String
Playlist id
callback
Function
Callback
Builds a youtube search url then returns the results as the first argument of the specified callback.
options
callback
[options]
Object
Optional
Options
callback
Function
Callback
Set default Youtube params.
options
options
Object
Options
[maxResults = 10]
Number
Optional
Number of results
[startIndex = 1]
Number
Optional
Start index (page)
[orderBy = 'relevance']
String
Optional
Order by choice
[q]
String
Optional
Query string of search
[author]
String
Optional
Author of videos
[category]
Array(String)
Optional
Categories