Android Question VideoView progress

Rusty

Well-Known Member
Licensed User
Longtime User
Is there a way to track the progress of a videoview as it is playing?
I'd like to be able to track how far in a video a user has progressed. It would be nice to track it dynamically as the video progresses, but at least upon videoview_complete event.
It appears that
B4X:
Sub VV_Complete
Msgbox("Video percent complete " & (VV.Position/VV.duration), "Complete")
...
the VV.Position is always zero (0)
Any ideas on this?
Thanks,
Rusty
BTW, the video being viewed is not streamed, it is a local asset file, .mp4
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
see this example
 

Attachments

  • vvposition.zip
    6 KB · Views: 259
Upvote 0
Top