Answer the question
In order to leave comments, you need to log in
How in yii2 you can implement adding a video in the admin panel?
People how to implement the ability to add video to the site in the admin panel? I figured out the pictures, I use costarica https://github.com/CostaRico/yii2-images, but I can’t cope with the video, there are zero lessons at all, can someone throw a link where you can read how and what to use?
Answer the question
In order to leave comments, you need to log in
Do you want to upload videos to yourself? Usually they use video hosting API. The same youtube
But in general, nothing is different from uploading a photo.
File upload and file upload. What's the difference what's there? Here only it is necessary that the server passes files of the big size.
And 5 more cents
If you put a third-party solution, it does not mean that you figured it out. That is why I do not advise using anything ready-made until you learn how to write something similar. We need to deal with downloading files without third-party widgets. Take the usual input type="file" and figure out how to upload what is for a photo, what is for a video will be the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question