If u use a Http:// source like
Can i still use the loop function ?
Because this code i found on the forum uses a listsource instead of a Urisource ?
So i am a little confused on how to use the loop function on a urisource ?
B4X:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
player1.Initialize("player")
Dim sources As List
sources.Initialize
sources.Add(player1.CreateUriSource("http://192.168.178.16/video/film.mp4"))
player1.Prepare(player1.CreateListSource(sources))
Because this code i found on the forum uses a listsource instead of a Urisource ?
B4X:
Dim ListSource As Object = player1.CreateListSource(sources)
player1.Prepare(player1.CreateLoopSource(ListSource, -1))