Hi Friends
I'm try to pass the link to the exoplayer player using:
but don't play anything (and no error messages appear)
if I change only the code (using exactly the same link):
All working fine
So I think that it is impossible to pass a link using a variable.
Any idea?
I'm try to pass the link to the exoplayer player using:
B4X:
dim LINK as string
LINK = "https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"
sources.Initialize
sources.Add (XPanel.CreateUriSource(LINK)) 'this code seems wrong
XPanel.Prepare(XPanel.CreateListSource(sources))
SimpleExoPlayerView1.Player = XPanel
XPanel.Play
Activity.Invalidate
but don't play anything (and no error messages appear)
if I change only the code (using exactly the same link):
B4X:
sources.Add (XPanel.CreateUriSource("https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"))
All working fine
So I think that it is impossible to pass a link using a variable.
Any idea?