Skip to content

Commit b5b55af

Browse files
Update README.md
1 parent e28e9b0 commit b5b55af

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,33 @@ inline-youtube-view for Android checks if the services are available and will fa
1313

1414
YouTubePlayerView : The YouTubePlayerView provided by the YouTube SDK comes with a restriction that the activty hosting this needs to extend from YouTubeBaseActivity. This view removes these restrictions.
1515

16-
### Screenshots
16+
## Demo Gifs
1717

18-
YouTube Activity (Fullscreen Mode)
18+
### YouTubePlayer in Activity (Fullscreen Mode)
1919

2020
![YouTube Activity](https://github.com/flipkart-incubator/inline-youtube-view/blob/master/youtube-activity-android.gif)
21+
22+
### YouTubePlayer in Fragment (inline native)
23+
24+
![YouTube Fragment](https://github.com/flipkart-incubator/inline-youtube-view/blob/master/youtube-fragment-android.gif)
25+
26+
## How to use
27+
28+
Add it in your root build.gradle at the end of repositories :
29+
30+
````java
31+
allprojects {
32+
repositories {
33+
...
34+
maven { url "https://jitpack.io" }
35+
}
36+
}
37+
````
38+
39+
Add the dependency
40+
41+
````java
42+
dependencies {
43+
compile 'coming_soon'
44+
}
45+
````

0 commit comments

Comments
 (0)