mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Fixes #5396 toVideo dimensions.
This commit is contained in:
@@ -5112,6 +5112,11 @@ class e_parse
|
||||
$height = varset($parm['h'], 240);
|
||||
$mime = varset($parm['mime'], 'video/mp4');
|
||||
|
||||
if($height === 0)
|
||||
{
|
||||
$height = 'auto';
|
||||
}
|
||||
|
||||
return '
|
||||
<div class="video-responsive">
|
||||
<video width="' . $width . '" height="' . $height . '" controls>
|
||||
|
Reference in New Issue
Block a user