Download the PHP package smartvain/youtube-caption-displayer without Composer
On this page you can find all versions of the php package smartvain/youtube-caption-displayer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download smartvain/youtube-caption-displayer
More information about smartvain/youtube-caption-displayer
Files in smartvain/youtube-caption-displayer
Download smartvain/youtube-caption-displayer
More information about smartvain/youtube-caption-displayer
Files in smartvain/youtube-caption-displayer
Vendor smartvain
Package youtube-caption-displayer
Short Description This package used for downloading youtube caption.
License MIT
Package youtube-caption-displayer
Short Description This package used for downloading youtube caption.
License MIT
Please rate this library. Is it a good library?
Informations about the package youtube-caption-displayer
Install
You can install it by typing the following command in a terminal.
Install with Packagist
Prepared methods
- getLangList()
- getCaptionsWithSeconds()
- getCaptionText()
Usage
First, add a Use declaration anywhere.
All that remains is to call the method with Facade.
Get the language list used for youtube video subtitles with getLangList().
Next, since the obtained language list contains lang-code, use it to get subtitles by getCaptionsWithSeconds() or getCaptionText().
If it is a youtube video without subtitles, return empty Collection.
It's so easy.
All versions of youtube-caption-displayer with dependencies
PHP Build Version
Package Version
The package smartvain/youtube-caption-displayer contains the following files
Loading the files please wait ...