Update README.md
This commit is contained in:
parent
ca87a9877e
commit
efa03480c1
@ -40,7 +40,7 @@ let id = extractID(url)
|
|||||||
|
|
||||||
## Stream
|
## Stream
|
||||||
|
|
||||||
### stream(url : `string`, options : `StreamOptions`)
|
### stream(url : `string`, options : [StreamOptions](https://github.com/play-dl/play-dl/tree/main/docs/YouTube#streamoptions))
|
||||||
*This is basic to create a youtube stream from a url or videoID.*
|
*This is basic to create a youtube stream from a url or videoID.*
|
||||||
|
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ let id = extractID(url)
|
|||||||
}) // This creates resource for playing
|
}) // This creates resource for playing
|
||||||
```
|
```
|
||||||
|
|
||||||
### stream_from_info(info : `infoData`, options : `StreamOptions`)
|
### stream_from_info(info : `infoData`, options : [StreamOptions](https://github.com/play-dl/play-dl/tree/main/docs/YouTube#streamoptions))
|
||||||
*This is basic to create a youtube stream from a info [ from [video_info](https://github.com/play-dl/play-dl#video_infourl--string) function ].*
|
*This is basic to create a youtube stream from a info [ from [video_info](https://github.com/play-dl/play-dl#video_infourl--string) function ].*
|
||||||
```js
|
```js
|
||||||
let info = await video_info("url")
|
let info = await video_info("url")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user