line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::WidgetValidator::Widget::Rimo;
|
2
|
1
|
|
|
1
|
|
4
|
use base qw(HTML::WidgetValidator::Widget);
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
64
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
17
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
248
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
__PACKAGE__->name('Rimo');
|
7
|
|
|
|
|
|
|
__PACKAGE__->url('http://rimo.tv/');
|
8
|
|
|
|
|
|
|
__PACKAGE__->models([
|
9
|
|
|
|
|
|
|
[ { type=>'start', name=>'object',
|
10
|
|
|
|
|
|
|
attr => { height => qr{\d{1,3}},
|
11
|
|
|
|
|
|
|
width => qr{\d{1,3}},
|
12
|
|
|
|
|
|
|
classid => 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000', },
|
13
|
|
|
|
|
|
|
},
|
14
|
|
|
|
|
|
|
{ type=>'start', name=>'param',
|
15
|
|
|
|
|
|
|
attr => { name => 'movie',
|
16
|
|
|
|
|
|
|
value => 'http://rimo.tv/tools/mini.swf?v1.1', }, },
|
17
|
|
|
|
|
|
|
{ type => 'end', name=>'param' },
|
18
|
|
|
|
|
|
|
{ type =>'start', name=>'param',
|
19
|
|
|
|
|
|
|
attr => { name => 'FlashVars',
|
20
|
|
|
|
|
|
|
value => qr{channelId=\d+&serverRoot=http%3A%2F%2Frimo.tv%2F&lang=\w+&autoPlay=0}, }, },
|
21
|
|
|
|
|
|
|
{ type => 'end', name=>'param' },
|
22
|
|
|
|
|
|
|
{ type=>'start', name=>'embed',
|
23
|
|
|
|
|
|
|
attr => { src => 'http://rimo.tv/tools/mini.swf?v1.1',
|
24
|
|
|
|
|
|
|
type => 'application/x-shockwave-flash',
|
25
|
|
|
|
|
|
|
height => qr{\d{1,3}},
|
26
|
|
|
|
|
|
|
width => qr{\d{1,3}},
|
27
|
|
|
|
|
|
|
flashvars => qr{channelId=\d+&serverRoot=http%3A%2F%2Frimo.tv%2F&lang=\w+&autoPlay=0},},},
|
28
|
|
|
|
|
|
|
{ type => 'end', name=>'embed' },
|
29
|
|
|
|
|
|
|
{ type => 'start', name=>'noembed' },
|
30
|
|
|
|
|
|
|
{ type => 'start', name=>'a', attr => { href => qr{http:\/\/rimo\.tv\/.+?},},},
|
31
|
|
|
|
|
|
|
{ type => 'text', text => 'Rimo' },
|
32
|
|
|
|
|
|
|
{ type => 'end', name=>'a' },
|
33
|
|
|
|
|
|
|
{ type => 'end', name=>'noembed' },
|
34
|
|
|
|
|
|
|
{ type => 'end', name=>'object' } ],
|
35
|
|
|
|
|
|
|
]);
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1;
|
38
|
|
|
|
|
|
|
__END__
|