Update README.md
This commit is contained in:
parent
201865af09
commit
23a2cff0ec
@ -51,7 +51,7 @@ if(validate(url)) // Will return true if url is a YouTube url
|
||||
```
|
||||
|
||||
### stream_from_info(info : `infoData`)
|
||||
*This is basic to create a youtube stream from a info [ from video_info 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
|
||||
let info = await video_info("url")
|
||||
let source = await stream_from_info(info) // This will create a stream Class which contains type and stream to be played.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user