Medium quality is also not letterboxed
This commit is contained in:
parent
f59076af0f
commit
858d10cdd4
|
@ -233,7 +233,7 @@ function print_video($video,$settings,$mobile,$show_seen)
|
|||
}
|
||||
$html .= "
|
||||
$default" . '
|
||||
<div class="thumb' . ($settings['thumbnail_quality'] == 'maxresdefault' ? '' : ' letterbox') . '" id="thumbnail:' . $video['videoId'] . '">
|
||||
<div class="thumb' . ($settings['thumbnail_quality'] == 'maxresdefault' || $settings['thumbnail_quality'] == 'mqdefault' ? '' : ' letterbox') . '" id="thumbnail:' . $video['videoId'] . '">
|
||||
<img src="https://i.ytimg.com/vi/' . $video['videoId'] . '/' . ($settings['thumbnail_quality'] ? $settings['thumbnail_quality'] : 'default') . '.jpg"/>
|
||||
<div class="time">
|
||||
<h4>' . $video['lengthText'] . '</h4>
|
||||
|
@ -1131,7 +1131,7 @@ if (isset($permissions['readable']) && $permissions['readable']) {
|
|||
if ($settings['thumbnail_quality'] == 'medium' || $settings['thumbnail_quality'] == 'mqdefault') {
|
||||
$header .= ' selected="selected"';
|
||||
}
|
||||
$header .= '>Medium (320x180*)</option><option value="default"';
|
||||
$header .= '>Medium (320x180)</option><option value="default"';
|
||||
if ($settings['thumbnail_quality'] == 'low' || $settings['thumbnail_quality'] == 'default') {
|
||||
$header .= ' selected="selected"';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue