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 #
ExoPlayer is an application level media player for Android. It provides an ExoPlayer is an application level media player for Android. It provides an alternative to Androids
alternative to Androids MediaPlayer API for playing audio and video both MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports
locally and over the Internet. ExoPlayer supports features not currently features not currently supported by Androids MediaPlayer API, including DASH and SmoothStreaming
supported by Androids MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can
adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to be updated through Play Store application updates.
customize and extend, and can be updated through Play Store application
updates.
## News ## ## News ##
@ -28,22 +26,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 `build.gradle` file: The easiest way to get started using ExoPlayer is by including the following in 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 [Releases][]. For more details, where `rX.X.X` is the your preferred version. For the latest version, see the project's
see the project on [Bintray][]. [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 so: ExoPlayer can also be built from source using Gradle. You can include it as a dependent project like
so:
``` ```
gradle gradle
@ -80,12 +80,12 @@ 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 of the repository. To develop ExoPlayer using Android Studio, simply open the ExoPlayer project in the root directory
of the repository.
#### Using Eclipse #### #### Using Eclipse ####
The repository includes Eclipse projects for both the ExoPlayer library and its To develop ExoPlayer using Eclipse:
accompanying demo application. To get started:
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.