This commit is contained in:
Pierre Rudloff 2017-11-11 13:51:40 +01:00
parent f8a82839a7
commit d443cb3996
7 changed files with 53 additions and 53 deletions

View file

@ -195,12 +195,12 @@ class VideoDownload
private function addOptionsToRtmpProcess(ProcessBuilder $builder, $video)
{
foreach ([
'url' => 'rtmp',
'webpage_url' => 'pageUrl',
'player_url' => 'swfVfy',
'url' => 'rtmp',
'webpage_url' => 'pageUrl',
'player_url' => 'swfVfy',
'flash_version' => 'flashVer',
'play_path' => 'playpath',
'app' => 'app',
'play_path' => 'playpath',
'app' => 'app',
] as $property => $option) {
if (isset($video->{$property})) {
$builder->add('--'.$option);