Changeset 845

Show
Ignore:
Timestamp:
05/29/06 22:06:47
Author:
miyagawa
Message:

change flv MIME type to x-flv

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/CustomFeed/YouTube.pm

    r836 r845  
    120120                        my $enclosure = Plagger::Enclosure->new; 
    121121                        $enclosure->url( URI->new($video_url) ); 
    122                         $enclosure->type('video/flv'); 
     122                        $enclosure->type('video/x-flv'); 
    123123                        $enclosure->filename("$video_id.flv"); 
    124124                        $entry->add_enclosure($enclosure); 
  • trunk/plagger/lib/Plagger/Util.pm

    r843 r845  
    134134 
    135135our $mimetypes = MIME::Types->new; 
    136 $mimetypes->addType( MIME::Type->new(type => 'video/flv', extensions => [ 'flv' ]) ); 
     136$mimetypes->addType( MIME::Type->new(type => 'video/x-flv', extensions => [ 'flv' ]) ); 
    137137$mimetypes->addType( MIME::Type->new(type => 'audio/aac', extensions => [ 'm4a', '.aac' ]) ); 
    138138