WebService-GData
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
- denied_countries is a shortcut sending back the list of countries that are denied access to the video
- new WebService::GData::YouTube::StagingServer
- switch to staging server
- new WebService::GData::YouTube::Feed::UserProfile
- get information about a user
- WebService::GData::Node::Media::GroupContent
- added the Restriction tag
- force Collection context for some tags(content thumbnails restriction,etc)
- new tests
- NEXT RELEASE
- start mocking some of the live tests I use on my side...
- lazy up thing more and get rid of old variables that take up memory for nothing...
- add a bit of doc for YouTube package
- YouTube service may not work properly right now!
lib/WebService/GData/YouTube/Doc/GeneralOverview.pod view on Meta::CPAN
my $contents = $video->content;
foreach my $content (@$contents){
say $content->url;
say $content->type;
say $content->duration;
say $thumb->format;
}
say $video->rating->num_dislikes;
say $video->rating->num_likes;
my $thumbs =$video->thumbnails;
foreach my $thumb (@$thumbs) {
say $thumb->url;
say $thumb->time;
say $thumb->width;
say $thumb->height;
}
}
Note: For more information about how to generate the information required to embed a video with a player
in your page please refer to the protocol guide.
lib/WebService/GData/YouTube/Feed/Video.pm view on Meta::CPAN
sub duration {
my $this = shift;
$this->_media->duration( {} )->seconds;
}
sub content {
my $this = shift;
$this->_media->content;
}
sub thumbnails {
my $this = shift;
$this->_media->thumbnail;
}
sub uploaded {
my $this = shift;
$this->_media->uploaded;
}
sub uploader {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.734 second using v1.00-cache-2.02-grep-82fe00e-cpan-a83e4509f55 )