line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mojolicious::Plugin::LinkEmbedder::Link::Game::_2play; |
2
|
1
|
|
|
1
|
|
2388
|
use Mojo::Base 'Mojolicious::Plugin::LinkEmbedder::Link::Game'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
has media_id => sub { shift->url->path->[2] || '' }; |
5
|
0
|
|
|
0
|
0
|
|
sub provider_name {'2play'} |
6
|
0
|
|
|
0
|
|
|
sub _js_embed_url {'http://video.nettavisen.no/javascripts/embed.js'} |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub to_embed { |
9
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
10
|
0
|
0
|
|
|
|
|
my $media_id = $self->media_id or return $self->SUPER::to_embed; |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
|
|
|
qq(); |
|
0
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |