How to upload video along with slider images in add listing form
-
hello i want to know how i can upload video along with slider images in add listing form and the video will show on single listing page in slider as well.
i researched and theres no way by default to upload the video
I dont want to hear that its not availiable or any other excuse i want this functionality urgent.
I tried to modify the image_upload.php file where we have this$img_upload_data = [ 'type' => 'jpg, jpeg, png, gif', 'max_num_of_img' => $limit, 'max_total_img_size' => $max_total_file_size_kb, 'is_required' => $required, 'max_size_per_img' => $max_file_size_kb, ];
i tried to add mp4 in type item and it works in uploading the video but it didnt showed on frontend and when i did this change it didnt either got other images and returned null in
$data arrayHow can i achieve this functionality?
this is important no matter if i need to modify files or something else but i want to achieve this urgent
can you guide me
thanks
Junaid
- The topic ‘How to upload video along with slider images in add listing form’ is closed to new replies.