--- trunk/lib/Frey/Web/FLVPlayer.pm 2008/12/15 18:32:51 845 +++ trunk/lib/Frey/Web/FLVPlayer.pm 2008/12/15 18:42:48 846 @@ -3,7 +3,7 @@ =head1 SEE ALSO -L +L =cut @@ -19,18 +19,11 @@ default => 'var/flv/codeswarm.flv', ); -has flowplayer_js => ( +has player_swf => ( is => 'rw', isa => 'Str', required => 1, - default => 'http://static.flowplayer.org/js/flowplayer-3.0.1.min.js', -); - -has flowplayer_swf => ( - is => 'rw', - isa => 'Str', - required => 1, - default => 'http://static.flowplayer.org/swf/flowplayer-3.0.1.swf', + default => 'http://flv-player.net/medias/player_flv_maxi.swf', ); sub as_markup { @@ -41,8 +34,7 @@ my $url = "http://localhost:3000/$path"; # FIXME - $self->add_js( $self->flowplayer_js ); - my $swf = $self->flowplayer_swf; + my $swf = $self->player_swf; my %info = $self->flv_info; warn "# info ", $self->dump( \%info ); @@ -51,24 +43,10 @@ my $height = $info{meta_height}; qq| - - - - - - - - + + + + |; }