nedium Active Member Licensed User Longtime User Dec 11, 2020 #1 Hello everyone I wanted to know if there is a way to use the exoplayer buttons by code, I already managed to show the button panel but I would like to do it without showing it the code to display the controls use B4X: Dim joex As JavaObject = SimpleExoPlayerView1 joex.RunMethod("showController", Null) any help I appreciate Attachments 1607692812490.png 312 bytes · Views: 379
Hello everyone I wanted to know if there is a way to use the exoplayer buttons by code, I already managed to show the button panel but I would like to do it without showing it the code to display the controls use B4X: Dim joex As JavaObject = SimpleExoPlayerView1 joex.RunMethod("showController", Null) any help I appreciate
nedium Active Member Licensed User Longtime User Dec 12, 2020 #2 Hi @Erel I want to use these exoplayer plugins using this code B4X: Dim joex As JavaObject = SimpleExoPlayerView1 joex.RunMethod("getSubtitleView", Null) I want to show the subtitles and also know the audio track that the video has and be able to change it I know that exoplayer has those options but I will not execute them from b4a I have seen options that are called getSubtitleView (). setVisibility (View.VISIBLE) regards Upvote 0
Hi @Erel I want to use these exoplayer plugins using this code B4X: Dim joex As JavaObject = SimpleExoPlayerView1 joex.RunMethod("getSubtitleView", Null) I want to show the subtitles and also know the audio track that the video has and be able to change it I know that exoplayer has those options but I will not execute them from b4a I have seen options that are called getSubtitleView (). setVisibility (View.VISIBLE) regards
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2020 #3 nedium said: Hi @Erel Click to expand... Don't do it. nedium said: I wanted to know if there is a way to use the exoplayer buttons by code, I already managed to show the button panel but I would like to do it without showing it Click to expand... You can play or pause the playback using the player object. Upvote 0
nedium said: Hi @Erel Click to expand... Don't do it. nedium said: I wanted to know if there is a way to use the exoplayer buttons by code, I already managed to show the button panel but I would like to do it without showing it Click to expand... You can play or pause the playback using the player object.
nedium Active Member Licensed User Longtime User Dec 14, 2020 #4 Erel said: Don't do it. Click to expand... Ok, I'm sorry ----------- Erel said: You can play or pause the playback using the player object. Click to expand... if that can do it, I wanted to know if I could change or select the audio or subtitle tracks I know that the exoplayer library has many functions, but I wanted to know how to run them from B4X with JavaObject any help would be useful thank you very much Upvote 0
Erel said: Don't do it. Click to expand... Ok, I'm sorry ----------- Erel said: You can play or pause the playback using the player object. Click to expand... if that can do it, I wanted to know if I could change or select the audio or subtitle tracks I know that the exoplayer library has many functions, but I wanted to know how to run them from B4X with JavaObject any help would be useful thank you very much
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2020 #5 I answered the question in the first post. Start a new thread for any other question. Upvote 0