Corrected video aspect ratio issue

Handles #781
This commit is contained in:
Matthew Barbour 2020-10-26 07:26:30 -05:00
parent 45d38d8833
commit 91ac271a2b

View file

@ -60,7 +60,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%; object-fit: cover;'>
style='height: $height; width: $width; max-width: 100%; object-fit: contain;'>
<source src='{$ilink}' type='{$mime}'>
<!-- If browser doesn't support filetype, fallback to flash -->