A Asim A Baki Active Member Licensed User Longtime User Jan 22, 2017 #1 I need to create SimpleExoPlayerView at runtime to be able to play multiple videos SimpleExoPlayerView.initialize("") gives an error any solution?
I need to create SimpleExoPlayerView at runtime to be able to play multiple videos SimpleExoPlayerView.initialize("") gives an error any solution?
DonManfred Expert Licensed User Longtime User Jan 23, 2017 #2 And you think without posting the complete error we can help????? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2017 #3 Create a layout file with SimpleExoPlayerView named player1. Make sure that there is a global variable with that name. B4X: Dim players As List players.Initialize For i = 1 to 10 Activity.LoadLayout("LayoutFileWithPlayer") players.Add(player1) Next Upvote 0
Create a layout file with SimpleExoPlayerView named player1. Make sure that there is a global variable with that name. B4X: Dim players As List players.Initialize For i = 1 to 10 Activity.LoadLayout("LayoutFileWithPlayer") players.Add(player1) Next
analizer3816 Member Licensed User Longtime User Mar 6, 2017 #4 Erel said: Create a layout file with SimpleExoPlayerView named player1. Make sure that there is a global variable with that name. B4X: Dim players As List players.Initialize For i = 1 to 10 Activity.LoadLayout("LayoutFileWithPlayer") players.Add(player1) Next Click to expand... can you explain about initialize simpleexoplayerview with code ? because I cannot load layout to overlay window. I see simpleexoplayerview.initialize(arg1 as string) but I don't know about arg1 please give me a sample. thanks Upvote 0
Erel said: Create a layout file with SimpleExoPlayerView named player1. Make sure that there is a global variable with that name. B4X: Dim players As List players.Initialize For i = 1 to 10 Activity.LoadLayout("LayoutFileWithPlayer") players.Add(player1) Next Click to expand... can you explain about initialize simpleexoplayerview with code ? because I cannot load layout to overlay window. I see simpleexoplayerview.initialize(arg1 as string) but I don't know about arg1 please give me a sample. thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2017 #5 Create a Panel and load it into the panel. You must add it with LoadLayout. Upvote 0