| 1 | package Net::Posterous::Media::Video; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use base qw(Net::Posterous::Object); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use Class::Accessor "antlers"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Net::Posterous::Media::Video - represent an video object in Net::Posterous | ||
| 11 | |||
| 12 | =head1 METHODS | ||
| 13 | |||
| 14 | =cut | ||
| 15 | |||
| 16 | |||
| 17 | =head2 url | ||
| 18 | |||
| 19 | Get or set the URL of this video. | ||
| 20 | |||
| 21 | =cut | ||
| 22 | |||
| 23 | 2 | has url => ( is => "rw", isa => "Str" ); | |
| 24 | |||
| 25 | |||
| 26 | =head2 thumb_url | ||
| 27 | |||
| 28 | Get or set the URL of the thumbnail for this video. | ||
| 29 | |||
| 30 | =cut | ||
| 31 | |||
| 32 | 0 | ▶ | sub thumb_url { |
|
Subroutine
thumb_url: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | 0 | shift->thumb(@_); | |
| 34 | } | ||
| 35 | |||
| 36 | 2 | has thumb => ( is => "rw", isa => "Str" ); | |
| 37 | |||
| 38 | =head2 filesize | ||
| 39 | |||
| 40 | Get or set the filesize for this video. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | 2 | has filesize => ( is => "rw", isa => "Str" ); | |
| 44 | |||
| 45 | =head2 flv | ||
| 46 | |||
| 47 | Get or set the URL to the flv transcoding for this video. | ||
| 48 | |||
| 49 | =cut | ||
| 50 | |||
| 51 | 2 | has flv => ( is => "rw", isa => "Str" ); | |
| 52 | |||
| 53 | =head2 mp4 | ||
| 54 | |||
| 55 | Get or set the URL to the mp4 transcoding for this video. | ||
| 56 | |||
| 57 | =cut | ||
| 58 | 2 | has mp4 => ( is => "rw", isa => "Str" ); | |
| 59 | |||
| 60 | 2 | 1; | |
| 61 | |||