iOS Question Get size of a video

tufanv

Expert
Licensed User
Longtime User
Hello,

Is it possible to determine the file size ( not the screen size) which we load via videoview ?

TY
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
hc is a HttpClient.
B4X:
hc.Initialize("hc")
   Dim req As HttpRequest
   req.InitializeHead("http://www.google.com")
   hc.Execute(req, 0)
End Sub

Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
   Log("success")
   Log(Response.ContentLength)
End Sub

Sub hc_ResponseError (Response As HttpResponse, Reason As String, StatusCode As Int, TaskId As Int)
   Log("error")
End Sub
 
Upvote 0
Top