-
Notifications
You must be signed in to change notification settings - Fork 6k
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
IMA extension: Ads playback without internet connection #3664
Comments
I think internet access is necessary for using the Android IMA SDK, which our IMA extension depends on. Most of the functionality is implemented in JavaScript, which is loaded from a remote URL in a Is using the IMA SDK a requirement for your use case? If not, you can still use ExoPlayer to play ads but using your own implementation of |
thanks for your comments @andrewlewis. @marcbaechinger please give me your guidance here. |
Yes, the approach Andrew is describing works:
|
I am using exoplayer (with IMA) version 2.6.0
I followed exactly same steps in https://medium.com/google-exoplayer/playing-ads-with-exoplayer-and-ima-868dfd767ea blog.
I have video content and advertisement content (ad xml and ad video) in my local intranet. I connected my local intranet wifi from a mobile, so that I can access my video content and ads content without internet.
If I enable internet access to this wifi connection and try to run this application then ads in my local intranet are playing fine.
But If I disable internet access to this local intranet wifi and try to run this application then my ads (which is in local intranet) keep on buffering and not playing at all. When I try to fiddler my mobile traffic I see that IMA sdk tries to request below urls to play ads.
https://imasdk.googleapis.com
https://pagead2.googlesyndication.com
So my question is "Does internet access is necessary to play advertisement using IMA sdk?". Is there any alternative way to play ads without internet connection?
Thanks.
The text was updated successfully, but these errors were encountered: