I am trying to generate a list of thumbnails based on a list of videos that I have on my server, I communicate with json to get the list of the route of the videos and thus be able to play, now it is planned to show a list of all the videos, for this you have to show in the form of thumbnails, more or less like this:
As you can see in the image I already have the list, but I need now to generate a thumbnail of the videos, the way the json returns me is as follows:
{"list":[{"VIDEO":"VID-20180510-WA0015.mp4","URL":".\/assets\/archivos\/Video Intro\/VID-20180510-WA0015.mp4","ID":"34","DURACION":"24"},{"VIDEO":"video_35.mp4","URL":".\/assets\/archivos\/Video Intro\/video_35.mp4","ID":"48","DURACION":"8"},{"VIDEO":"video_34.mp4","URL":".\/assets\/archivos\/Video Intro\/video_34.mp4","ID":"47","DURACION":"2"},{"VIDEO":"video_29.mp4","URL":".\/assets\/archivos\/Video Intro\/video_29.mp4","ID":"45","DURACION":"3"},{"VIDEO":"video_33.mp4","URL":".\/assets\/archivos\/Video Intro\/video_33.mp4","ID":"46","DURACION":"3"}]}
URL is the video route on the server, this project is working with codeigniter 3.
Someone could tell me how to generate those thumbnails.