Videoview loop

madru

Active Member
Licensed User
Longtime User
…would be nice to get:

B4X:
public void setLooping (boolean looping)

Since: API Level 1
Sets the player to be looping or non-looping.
Parameters

looping   whether to loop or not

into videoview :)
 

susu

Well-Known Member
Licensed User
Longtime User
In meanwhile, you can use this code to loop your video:

B4X:
Sub Globals
   Dim vv As VideoView
End Sub

Sub Activity_Create(FirstTime As Boolean)
   
   vv.Initialize("vv")
   vv.LoadVideo(File.DirDefaultExternal, "test.3gp")
   vv.Play
End Sub

Sub vv_Complete
   vv.Play       'Loop video
End Sub
 
Top