stop fixing height / width of videos - that doesn't work well with max-width

This commit is contained in:
Shish 2020-02-09 00:42:21 +00:00
parent 9c47bdb100
commit 58346f8b49

View file

@ -58,7 +58,7 @@ class VideoFileHandlerTheme extends Themelet
$html .= "
<video controls class='shm-main-image' id='main_image' alt='main image' poster='$thumb_url' {$autoplay} {$loop}
style='height: $height; width: $width; max-width: 100%'>
style='max-width: 100%'>
<source src='{$ilink}' type='{$supportedExts[$ext]}'>
<!-- If browser doesn't support filetype, fallback to flash -->