|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2020-07-02 (10 months ago) ||Not enough user ratings||Total: 177 This week: 1||All time: 8,603 This week: 219|
This package can get information about a video in YouTube.
It takes the URL of a given video page in YouTube and gets the contents from the embedding meta data URL for that video so it can return several details about that video.
Currently it return an object with variables that include the following details:
- The video title
- The video author name and page URL on YouTube
- Width and height of the video and the thumbnail image as well the thumbnail URL
- HTML to embed the video in another site pages
$obj = new YoutubeInfo("https://www.youtube.com/watch?v=VHxjyBtKxpM");
[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>
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.