From 4ab966dc96eeb195a1ae9a11a048106d07e8857a Mon Sep 17 00:00:00 2001 From: Oliver Woodman Date: Sat, 12 Sep 2020 22:19:02 +0100 Subject: [PATCH] Improve IMA readme --- extensions/ima/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/ima/README.md b/extensions/ima/README.md index 4da7a8f22e..c67dfdbb5d 100644 --- a/extensions/ima/README.md +++ b/extensions/ima/README.md @@ -27,11 +27,11 @@ locally. Instructions for doing this can be found in ExoPlayer's ## Using the extension ## To use the extension, follow the instructions on the -[Ad insertion page](https://exoplayer.dev//ad-insertion.html#declarative-ad-support) -of the developer guide, passing an `AdsLoaderProvider` that returns an -`ImaAdsLoader` when configuring the player's `DefaultMediaSourceFactory`. Note -that the IMA extension only supports players which are accessed on the -application's main thread. +[Ad insertion page](https://exoplayer.dev/ad-insertion.html#declarative-ad-support) +of the developer guide. The `AdsLoaderProvider` passed to the player's +`DefaultMediaSourceFactory` should return an `ImaAdsLoader`. Note that the IMA +extension only supports players which are accessed on the application's main +thread. Resuming the player after entering the background requires some special handling when playing ads. The player and its media source are released on entering the