Morning All,
In my app I've been trying to add video download progress but hit a stumbling block which I couldn't find an answer when searching the forum. The way I get the size of a video now is by performing a HEAD request, but on testing it seems no matter what video the same size comes back no matter what video, here's an example using curl.
HTTP/1.1 200 OK
Server: Apache
ETag: "6a23881d01c9d752e20dd7efbe5eee13:1458585666"
Last-Modified: Mon, 21 Mar 2016 18:41:06 GMT
Accept-Ranges: bytes
Content-Length: 11334031
Content-Type: video/mp4
Date: Fri, 07 Oct 2016 08:45:23 GMT
Connection: keep-alive
When checking my DB I found all the videos had a video size of 11334031, I checked the URL and tried with and without an API_KEY and it made no difference. Anyone seen this before and can offer some advice?
Thanks In Advance,
Adam2Marsh
Log in to comment