You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file vendor/xemle/html5-video-php/src/Html5Video/Html5Video.php:148, function does not work correctly. For example, I have current version 2.0.0, and second parameter was set as static 0.8, this function return FALSE (must return TRUE).
I fixed this as next code:
protected function isVersionIsGreaterOrEqual($version, $other) {
$max = min(count($version), count($other));
for ($i = 0; $i < $max; $i++) {
if ($version[$i] < $other[$i]) {
return false;
} elseif ($version[$i] > $other[$i]) {
return true;
}
}
return true;
}
In file vendor/xemle/html5-video-php/src/Html5Video/Html5Video.php:226 or 230, function can't return array (if for example variable $targetConfig['videoEncoder'] have array('vpx', 'vp8')). Laravel 5.1 show error.
Please fix it.
Thank you.
The text was updated successfully, but these errors were encountered:
You converter have 2 bags.
In file vendor/xemle/html5-video-php/src/Html5Video/Html5Video.php:148, function does not work correctly. For example, I have current version 2.0.0, and second parameter was set as static 0.8, this function return FALSE (must return TRUE).
I fixed this as next code:
protected function isVersionIsGreaterOrEqual($version, $other) {
$max = min(count($version), count($other));
for ($i = 0; $i < $max; $i++) {
if ($version[$i] < $other[$i]) {
return false;
} elseif ($version[$i] > $other[$i]) {
return true;
}
}
return true;
}
In file vendor/xemle/html5-video-php/src/Html5Video/Html5Video.php:226 or 230, function can't return array (if for example variable $targetConfig['videoEncoder'] have array('vpx', 'vp8')). Laravel 5.1 show error.
Please fix it.
Thank you.
The text was updated successfully, but these errors were encountered: