Added object-fit style to video handler poster to allow better scaling when using exact-size-only thumbs
This commit is contained in:
parent
846d978a52
commit
e61bbbe03d
@ -61,7 +61,7 @@ class VideoFileHandlerTheme extends Themelet
|
||||
|
||||
$html .= "
|
||||
<video controls class='shm-main-image' id='main_image' alt='main image' poster='$thumb_url' {$autoplay} {$loop} {$mute}
|
||||
style='height: $height; width: $width; max-width: 100%'>
|
||||
style='height: $height; width: $width; max-width: 100%; object-fit: cover;'>
|
||||
<source src='{$ilink}' type='{$mime}'>
|
||||
|
||||
<!-- If browser doesn't support filetype, fallback to flash -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user