I'm having trouble understanding how to get the filename to update from that sent back by the server after upload:
For example:
Upload file called hockey-001.mp4
Server responds with:
{"name":"aedc65_hockey-001.mp4"...}
Name in thumbnail does not reflect this response.
It requires that I hard refresh the page for the filename (and thumbnail etc..) to update - I would expect this to be reactive upon successful file upload.
The problem is all encapsulated in this screenshot below:
As you can see I've just uploaded "hockey-001" (black / no thumbnail). The server has responded with the unique server generated "name" but I can only see that once hard refreshed (F5) the page (other two videos).
Hi,
I'm having trouble understanding how to get the filename to update from that sent back by the server after upload:
For example:
It requires that I hard refresh the page for the filename (and thumbnail etc..) to update - I would expect this to be reactive upon successful file upload.
The problem is all encapsulated in this screenshot below:
As you can see I've just uploaded "hockey-001" (black / no thumbnail). The server has responded with the unique server generated "name" but I can only see that once hard refreshed (F5) the page (other two videos).
Here is my implementation:
and the methods:
onUpload
andonUpdate
aren't currently doing anything (empty).All help / advice on where I'm going wrong is massively appreciated.