madru Active Member Licensed User Longtime User Mar 19, 2012 #1 …would be nice to get: Code: Copy 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
…would be nice to get: Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2012 #2 I don't see this method: VideoView | Android Developers
S susu Well-Known Member Licensed User Longtime User Mar 20, 2012 #3 In meanwhile, you can use this code to loop your video: Code: Copy 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
In meanwhile, you can use this code to loop your video: Code: Copy 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