please I have a phpmyadmin database where a list of video names are stored, I also have a file where these videos are stored, so I am outputting this videos to the front end with a function in php called MYSQLI_FETCH_ASSOC
when these data are gotten from the server with the function, a JavaScript function I created will append it with a div tag.
And I also have a function that obverse when the first video data is success, then the function sends a response to the server and the server bring another data from the database.
So my problem is how can I preview part of the video in the video tag. By default after the page finish loading, the video tag becomes black in color, until i click on it to play. So I want it to show a part of the video after the page have finish loading, just as Facebook, Twitter , Instagram.
The video tag
So how can I make the video to show part of the video data ???