I’m integrating Transloadit assemblies and Uppy client on a PHP7 Facebook “alike” website.
I would like users to upload either videos or images from their devices.
A PHP form will write the post information by making use of hidden fields and files will be stored in a S3 bucket.
I want users upload videos or images, generate a fast enough thumbnail and then send them elsewhere without having to wait for the actual encoding.
The idea is I’ll want my users to be on their way after they upload. I don’t want to make them wait on the encoding. So I’ll set waitForEncoding to false, and use notify_url which Transloadit will ping with the Assembly Status in a JSON encoded string inside a form field called transloadit. My backend has to read and parse the string, loop over the results, save them in database. Optionally ping the frontend via a websocket that there is an update.
My wall page will query the database and show the results
I wrote most of the assembly instructions. I need help integrating the JSON response from the Transloadit service back to the application and Mysql db.
This is about Assembly notifications: [login to view URL]