File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3362,17 +3362,17 @@ sub set_entry_details {
33623362
33633363 if ($code =~ / $valid_video_id_re / ) {
33643364
3365- my $thumbnail = $info -> {snippet }{thumbnails }{default };
3365+ my $thumbnail = $info -> {snippet }{thumbnails }{medium };
33663366 my $url = $thumbnail -> {url };
33673367
33683368 if ($url =~ / _live\.\w +\z / ) {
33693369 # # no extra thumbnails available while video is LIVE
33703370 }
33713371 else {
3372- $url =~ s { /\w +\. (\w +)\z } { /$nr .$1 } ;
3372+ $url =~ s { /\w +\. (\w +)\z } { /mq $nr .$1 } ;
33733373 }
33743374
3375- my $pixbuf = get_pixbuf_thumbnail($url , $thumbnail -> { width } // 120, $thumbnail -> { height } // 90);
3375+ my $pixbuf = get_pixbuf_thumbnail($url , 160, 90);
33763376 $gui -> get_object(" image$nr " )-> set_from_pixbuf($pixbuf );
33773377 }
33783378 else {
You can’t perform that action at this time.
0 commit comments