mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Enforce 80 char line limit in README.md
This commit is contained in:
parent
0dbd7aae54
commit
3f05ddbcc1
33
README.md
33
README.md
@ -1,10 +1,11 @@
|
|||||||
# ExoPlayer #
|
# ExoPlayer #
|
||||||
|
|
||||||
ExoPlayer is an application level media player for Android. It provides an alternative to Android’s
|
ExoPlayer is an application level media player for Android. It provides an
|
||||||
MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports
|
alternative to Android’s MediaPlayer API for playing audio and video both
|
||||||
features not currently supported by Android’s MediaPlayer API, including DASH and SmoothStreaming
|
locally and over the Internet. ExoPlayer supports features not currently
|
||||||
adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can
|
supported by Android’s MediaPlayer API, including DASH and SmoothStreaming
|
||||||
be updated through Play Store application updates.
|
adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize
|
||||||
|
and extend, and can be updated through Play Store application updates.
|
||||||
|
|
||||||
## News ##
|
## News ##
|
||||||
|
|
||||||
@ -14,7 +15,8 @@ Read news, hints and tips on the [news][] page.
|
|||||||
|
|
||||||
## Documentation ##
|
## Documentation ##
|
||||||
|
|
||||||
* The [developer guide][] provides a wealth of information to help you get started.
|
* The [developer guide][] provides a wealth of information to help you get
|
||||||
|
started.
|
||||||
* The [class reference][] documents the ExoPlayer library classes.
|
* The [class reference][] documents the ExoPlayer library classes.
|
||||||
* The [release notes][] document the major changes in each release.
|
* The [release notes][] document the major changes in each release.
|
||||||
|
|
||||||
@ -26,24 +28,24 @@ Read news, hints and tips on the [news][] page.
|
|||||||
|
|
||||||
#### Via jCenter ####
|
#### Via jCenter ####
|
||||||
|
|
||||||
The easiest way to get started using ExoPlayer is by including the following in your project's
|
The easiest way to get started using ExoPlayer is by including the following in
|
||||||
`build.gradle` file:
|
your project's `build.gradle` file:
|
||||||
|
|
||||||
```
|
```
|
||||||
gradle
|
gradle
|
||||||
compile 'com.google.android.exoplayer:exoplayer:rX.X.X'
|
compile 'com.google.android.exoplayer:exoplayer:rX.X.X'
|
||||||
```
|
```
|
||||||
|
|
||||||
where `rX.X.X` is the your preferred version. For the latest version, see the project's
|
where `rX.X.X` is the your preferred version. For the latest version, see the
|
||||||
[Releases][]. For more details, see the project on [Bintray][].
|
project's [Releases][]. For more details, see the project on [Bintray][].
|
||||||
|
|
||||||
[Releases]: https://github.com/google/ExoPlayer/releases
|
[Releases]: https://github.com/google/ExoPlayer/releases
|
||||||
[Bintray]: https://bintray.com/google/exoplayer/exoplayer/view
|
[Bintray]: https://bintray.com/google/exoplayer/exoplayer/view
|
||||||
|
|
||||||
#### As source ####
|
#### As source ####
|
||||||
|
|
||||||
ExoPlayer can also be built from source using Gradle. You can include it as a dependent project like
|
ExoPlayer can also be built from source using Gradle. You can include it as a
|
||||||
so:
|
dependent project like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
gradle
|
gradle
|
||||||
@ -80,15 +82,16 @@ and copy `library.jar` to the libs folder of your new project.
|
|||||||
|
|
||||||
#### Using Android Studio ####
|
#### Using Android Studio ####
|
||||||
|
|
||||||
To develop ExoPlayer using Android Studio, simply open the ExoPlayer project in the root directory
|
To develop ExoPlayer using Android Studio, simply open the ExoPlayer project in
|
||||||
of the repository.
|
the root directory of the repository.
|
||||||
|
|
||||||
#### Using Eclipse ####
|
#### Using Eclipse ####
|
||||||
|
|
||||||
To develop ExoPlayer using Eclipse:
|
To develop ExoPlayer using Eclipse:
|
||||||
|
|
||||||
1. Install Eclipse and setup the [Android SDK][].
|
1. Install Eclipse and setup the [Android SDK][].
|
||||||
1. Open Eclipse and navigate to File->Import->General->Existing Projects into Workspace.
|
1. Open Eclipse and navigate to File->Import->General->Existing Projects into
|
||||||
|
Workspace.
|
||||||
1. Select the root directory of the repository.
|
1. Select the root directory of the repository.
|
||||||
1. Import the projects.
|
1. Import the projects.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user