You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,18 @@ ExoVideoView is based on [ExoPlayer](https://github.com/google/ExoPlayer).
20
20
8.change the widget's visibility if you like.
21
21
## Using ExoVideoView
22
22
### 1.Dependency
23
-
The easiest way to get started using ExoVideoView is to add it as a gradle dependency. You need to make sure you have the JCenter and Google repositories included in the build.gradle file in the root of your project:
23
+
The easiest way to get started using ExoVideoView is to add it as a gradle dependency. You need to make sure you have the jitpack repositories included in the build.gradle file in the root of your project:
24
24
```
25
-
repositories {
26
-
jcenter()
27
-
google()
28
-
}
25
+
allprojects {
26
+
repositories {
27
+
...
28
+
maven { url 'https://jitpack.io' }
29
+
}
30
+
}
29
31
```
30
32
Next add a gradle compile dependency to the build.gradle file of your app module:
0 commit comments