Android Question VideoView detect end of video

jmoeller

Member
Licensed User
Longtime User
I am using videoview to play a video from a local web server...

B4X:
vvv.LoadVideo("http","http://10.1.1.244/ssd/video/commercial/DonateBlood-PSA.mp4")

I have the media controls turned off so that the user must watch the entire video.

How can I detect when the video has ended? I know it is probably obvious to many, but I haven't figured it out.

Thanks,
Jonathan
 

jmoeller

Member
Licensed User
Longtime User
I appreciate the quick response. I am not much of a developer, I am not sure how to "check the complete event".
 
Upvote 0

jmoeller

Member
Licensed User
Longtime User
Nevermind, I figured it out. Thanks for the pointer.

B4X:
Sub vvv_Complete
    Msgbox("video completed","completed")
   vvv.Stop
End Sub
 
Upvote 0
Top