How did you handle this?
Sep 15, 2015
4
Level 9
Make a progress bar when uploading to Vimeo
I'm using the package https://github.com/vinkla/vimeo
The process to upload the video its working with this code:
$upload = Vimeo::upload($request->file('file'));
I need to give some information to a user that is uploading, perhaps a progress bar. But i have no clue how to build that.
The oficial documentation says: https://developer.vimeo.com/api/upload/videos#verify-the-upload
To check how much of a file has transferred, perform the exact same PUT request without the file data and with the header "Content-Range: bytes */*". Here’s an example reques
Host: 1.2.3.4:8080
Content-Length: 0
Content-Range: bytes */*
If anyone can give me some tip or a link that i can learn how to make it happen, would be awesome.
Please or to participate in this conversation.