Android Question SimpleMediaManager and ExoPlayer

Bucky108

Member
Licensed User
Longtime User
In the initial post about SimpleMediaManager Erel stated:

It uses B4XImageView (or ZoomImageView) for images, B4XGifView for animated gifs, ExoPlayer / MediaView / VideoPlayer for videos and WebView for html or text.

Can anyone provide an example with SimpleMediaManager using ExoPlayer to play a video?
 

Bucky108

Member
Licensed User
Longtime User
Sure:
B4X:
SMM.SetMedia(Panel1, "link to video file")
Yes, I got that much from the example that you provided in the original post about SMM.

My question is how would you, or can you, integrate the media with ExoPlayer?

I'm trying to, for example, display a YouTube video tied to the ExoPlayer control.

"ExoPlayer / MediaView / VideoPlayer for videos"
 
Upvote 0

Bucky108

Member
Licensed User
Longtime User
OK thanks it's clearer now.

I didn't at first understand the conditional statements in the configuration.

Is it then possible to reference the ExoPlayer in code?
 
Upvote 0
Top