Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4ab966dc
authored
Sep 12, 2020
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Improve IMA readme
parent
3f6e5ce6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
extensions/ima/README.md
extensions/ima/README.md
View file @
4ab966dc
...
@@ -27,11 +27,11 @@ locally. Instructions for doing this can be found in ExoPlayer's
...
@@ -27,11 +27,11 @@ locally. Instructions for doing this can be found in ExoPlayer's
## Using the extension ##
## Using the extension ##
To use the extension, follow the instructions on the
To use the extension, follow the instructions on the
[
Ad insertion page
](
https://exoplayer.dev/
/
ad-insertion.html#declarative-ad-support
)
[
Ad insertion page
](
https://exoplayer.dev/ad-insertion.html#declarative-ad-support
)
of the developer guide
, passing an
`AdsLoaderProvider`
that returns an
of the developer guide
. The
`AdsLoaderProvider`
passed to the player's
`
ImaAdsLoader`
when configuring the player's
`DefaultMediaSourceFactory`
. Note
`
DefaultMediaSourceFactory`
should return an
`ImaAdsLoader`
. Note that the IMA
that the IMA extension only supports players which are accessed on the
extension only supports players which are accessed on the application's main
application's main
thread.
thread.
Resuming the player after entering the background requires some special handling
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
when playing ads. The player and its media source are released on entering the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment