Closed Brandon689 closed 4 months ago
Subtitles::convert($input, $output, ['strict' => false]); Subtitles::loadFromString($string, ['strict' => false]); Subtitles::loadFromFile($input, ['strict' => false]);
Why do you use this array form, it will not work like this, instead:
Subtitles::convert($input, $output, false); Subtitles::loadFromString($string, false); Subtitles::loadFromFile($input, false);
Third parameter accepts other parameters also, like:
Subtitles::convert('subtitles1', 'subtitles2', ['output_format' => 'vtt']);
Why do you use this array form, it will not work like this, instead: