Update README.md

This commit is contained in:
ojw28 2015-12-10 18:16:27 +00:00
parent 8a839fcf95
commit 7bc341f385

View File

@ -1,12 +1,10 @@
# ExoPlayer #
ExoPlayer is an application level media player for Android. It provides an
alternative to Androids MediaPlayer API for playing audio and video both
locally and over the Internet. ExoPlayer supports features not currently
supported by Androids MediaPlayer API, including DASH and SmoothStreaming
adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to
customize and extend, and can be updated through Play Store application
updates.
ExoPlayer is an application level media player for Android. It provides an alternative to Androids
MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports
features not currently supported by Androids MediaPlayer API, including DASH and SmoothStreaming
adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can
be updated through Play Store application updates.
## News ##
@ -28,22 +26,24 @@ Read news, hints and tips on the [news][] page.
#### Via jCenter ####
The easiest way to get started using ExoPlayer is by including the following in your project's `build.gradle` file:
The easiest way to get started using ExoPlayer is by including the following in your project's
`build.gradle` file:
```
gradle
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 [Releases][]. For more details,
see the project on [Bintray][].
where `rX.X.X` is the your preferred version. For the latest version, see the project's
[Releases][]. For more details, see the project on [Bintray][].
[Releases]: https://github.com/google/ExoPlayer/releases
[Bintray]: https://bintray.com/google/exoplayer/exoplayer/view
#### As source ####
ExoPlayer can also be built from source using Gradle. You can include it as a dependent project like so:
ExoPlayer can also be built from source using Gradle. You can include it as a dependent project like
so:
```
gradle
@ -80,12 +80,12 @@ and copy `library.jar` to the libs folder of your new project.
#### Using Android Studio ####
To develop ExoPlayer using Android Studio, simply open the ExoPlayer project in the root directory of the repository.
To develop ExoPlayer using Android Studio, simply open the ExoPlayer project in the root directory
of the repository.
#### Using Eclipse ####
The repository includes Eclipse projects for both the ExoPlayer library and its
accompanying demo application. To get started:
To develop ExoPlayer using Eclipse:
1. Install Eclipse and setup the [Android SDK][].
1. Open Eclipse and navigate to File->Import->General->Existing Projects into Workspace.