M.Amini Member Jun 4, 2025 #1 Hi everyone. How can I load and display a video in ExoPlayer by embed code?
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2025 #2 I'm not exactly sure what you are looking for, however using SimpleMediaManager is the simplest way to load videos and other media: [B4X] SimpleMediaManager (SMM) - framework for images, videos and more Upvote 0
I'm not exactly sure what you are looking for, however using SimpleMediaManager is the simplest way to load videos and other media: [B4X] SimpleMediaManager (SMM) - framework for images, videos and more
M.Amini Member Jun 5, 2025 #3 I want to show a video in my application. This video is uploaded in a sharing video Site. According to Site protocol, videos can be accessed only by embed code. I did it before by WebView but in WebView video is not Fullscreen. I decided to use ExoPlayer but all methods in ExoPlayer do not work with embed code and the video does not display. The B4A File with WebView is attached. My question is can I use ExoPlayer for this purpose? or should I try another method? Attachments embed code video.zip embed code video.zip 11.2 KB · Views: 244 Upvote 0
I want to show a video in my application. This video is uploaded in a sharing video Site. According to Site protocol, videos can be accessed only by embed code. I did it before by WebView but in WebView video is not Fullscreen. I decided to use ExoPlayer but all methods in ExoPlayer do not work with embed code and the video does not display. The B4A File with WebView is attached. My question is can I use ExoPlayer for this purpose? or should I try another method?
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2025 #4 In order to use ExoPlayer, you need to have access to the direct video stream url. There are many cases where this url is only accessible through the hosting site. This is the case with YouTube for example. Upvote 0
In order to use ExoPlayer, you need to have access to the direct video stream url. There are many cases where this url is only accessible through the hosting site. This is the case with YouTube for example.