stop fixing height / width of videos - that doesn't work well with max-width
This commit is contained in:
parent
9c47bdb100
commit
58346f8b49
@ -58,7 +58,7 @@ class VideoFileHandlerTheme extends Themelet
|
|||||||
|
|
||||||
$html .= "
|
$html .= "
|
||||||
<video controls class='shm-main-image' id='main_image' alt='main image' poster='$thumb_url' {$autoplay} {$loop}
|
<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]}'>
|
<source src='{$ilink}' type='{$supportedExts[$ext]}'>
|
||||||
|
|
||||||
<!-- If browser doesn't support filetype, fallback to flash -->
|
<!-- If browser doesn't support filetype, fallback to flash -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user