diff --git a/app/Http/Admin/Services/ChapterContent.php b/app/Http/Admin/Services/ChapterContent.php index c9a39ac0..f911dfe7 100644 --- a/app/Http/Admin/Services/ChapterContent.php +++ b/app/Http/Admin/Services/ChapterContent.php @@ -179,7 +179,11 @@ class ChapterContent extends Service $hdUrl = $post['file_remote']['hd']['url'] ?? ''; $sdUrl = $post['file_remote']['sd']['url'] ?? ''; - $fileRemote = []; + $fileRemote = [ + 'od' => ['url' => ''], + 'hd' => ['url' => ''], + 'sd' => ['url' => ''], + ]; $attrs = $chapter->attrs; diff --git a/app/Http/Admin/Views/chapter/edit_lesson_vod.volt b/app/Http/Admin/Views/chapter/edit_lesson_vod.volt index bb08b51e..09a5c587 100644 --- a/app/Http/Admin/Views/chapter/edit_lesson_vod.volt +++ b/app/Http/Admin/Views/chapter/edit_lesson_vod.volt @@ -112,38 +112,62 @@