1
0
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:
camer0n
2025-01-16 11:23:25 -08:00
parent e8f5e804b2
commit cd30dfdc0d
3 changed files with 43 additions and 5 deletions

View File

@@ -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>