-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to do the preloading of the preroll ad in the Media3? #1040
Comments
One simple way to address this issue is to call There is also |
Thank you for your response @tonihei . The issue is that after calling player.prepare(), the player takes some time to load the ad. Is there a way to precache the ad on the homepage before playing the video? |
My response above already pointed out two ways to precache the ad (or at least parts of the preparation process) before playback starts. Calling |
I'm using the IMA ads Extension in ExoPlayer, and I'm facing an issue where ads take some time to load due to internet connectivity or other unforeseen circumstances. To ensure a bufferless video playback experience in Android, I want to precache the IMA ad from the VAST file. While ExoPlayer automatically loads and stores midroll ads in the cache, it doesn't have sufficient time to preload preroll ads. Is there a way to address this issue and precache preroll ads for smoother playback?
The text was updated successfully, but these errors were encountered: