Recommend this page to a friend! |
Download |
Info | Documentation | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 193 | All time: 8,552 This week: 80 |
Version | License | PHP version | Categories | |||
youtubeinfo 1.0.1 | The PHP License | 5 | PHP 5, Web services, Video |
Description | Author | |
This package can get information about a video in YouTube. |
$obj = new YoutubeInfo("https://www.youtube.com/watch?v=VHxjyBtKxpM");
$obj->getThumb()
$obj->getThumb('small')
print_r($obj->getInfo());
stdClass Object
(
[author_name ] => Peter Gundry | Composer
[thumbnail_width ] => 480
[width ] => 480
[type ] => video
[provider_url ] => https://www.youtube.com/
[height ] => 270
[author_url ] => https://www.youtube.com/user/23Alchemist23
[thumbnail_url ] => https://i.ytimg.com/vi/VHxjyBtKxpM/hqdefault.jpg
[provider_name ] => YouTube
[version ] => 1.0
[thumbnail_height] => 360
[title ] => Nordic/Viking Music - FoĢ?lkvangr
[html ] => <iframe width="480" height="270" src="https://www.youtube.com/embed/VHxjyBtKxpM?feature=oembed" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe>
)
Screenshots (1) | ||
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
66% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.