media/extensions/ima/src
andrewlewis 9392dff225 Call VideoAdPlayerCallback.onLoaded
This callback was not notified before, which could theoretically lead to ad
loading timing out. In practice it doesn't currently happen because the timeout
appears to start when the ad cue point is reached, not when loadAd is called.

We notify onLoaded when the ad media period is prepared (for HTML5 the
recommendation is to notify on the HTMLMediaElement 'canplay' event, which this
roughly corresponds to).

PiperOrigin-RevId: 324568407
2020-08-07 18:58:31 +01:00
..
androidTest Migrate overrides of deprecated AdsViewProvider.getAdOverlayViews 2020-07-24 10:31:31 +01:00
main Call VideoAdPlayerCallback.onLoaded 2020-08-07 18:58:31 +01:00
test Migrate overrides of deprecated AdsViewProvider.getAdOverlayViews 2020-07-24 10:31:31 +01:00