I have created thumbnail from mp4 video and displayed it on the same page by adding eventListener to video browse button. I want that when user will click on the save button the video as well as all the other fields should save in the database which is already working fine.
The problem is now that I am trying also to send the canvas image as normal input type=file.
For this I have two options in my mind:
- to save the canvas displayed image on client machine drive (html5 localstorage)
- Or I have to send the canvas image to the server and then have to upload that from the temp uploaded folder (I know this is a stupid idea).
What shall I try next?