Пофиксил формат

This commit is contained in:
Dhaverd 2024-06-19 07:17:32 +03:00
parent 8be7755917
commit 1b67177c18
2 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class YoutubeDownloadController extends Controller
Options::create() Options::create()
->downloadPath(env('PATH_TO_DOWNLOAD')) ->downloadPath(env('PATH_TO_DOWNLOAD'))
->url($url) ->url($url)
->formatSort(['bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio']) ->format('bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio')
->mergeOutputFormat('mp4') ->mergeOutputFormat('mp4')
); );
$videotitle = ''; $videotitle = '';