Skip to content

Commit c2248b5

Browse files
author
tom
committed
release 0.3
1 parent 34ad09c commit c2248b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
out of the box android video player base on [ijkplayer](https://github.com/Bilibili/ijkplayer)
33

44
# features
5-
1. base on ijkplayer,support RTMP , HLS , MP4,M4A etc.
5+
1. base on ijkplayer,support RTMP , HLS (http & https) , MP4,M4A etc.
66
2. gestures for volume control
77
3. gestures for brightness control
88
4. gestures for forward or backward
@@ -17,11 +17,11 @@ out of the box android video player base on [ijkplayer](https://github.com/Bilib
1717
6. 4:3:不剪裁,非等比例拉伸画面到4:3,并完全显示在View中
1818

1919
# how to import library
20-
## using gradle
20+
## method 1: using gradle
2121
1. add `maven { url "https://jitpack.io" }` to your root project build file allprojects->repositories
22-
2. add `compile 'com.github.tcking.GiraffePlayer:giraffeplayer:0.2'` to your app build file
22+
2. add `compile 'com.github.tcking.GiraffePlayer:giraffeplayer:0.3'` to your app build file
2323

24-
## clone project
24+
## method 2: clone project
2525
1. git clone https://github.com/tcking/GiraffePlayer.git
2626
2. android studio->file->New->Import module->select `giraffeplayer`
2727

app/src/main/java/tcking/github/com/giraffeplayer/example/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void onClick(View v) {
3636
player.setTitle(url);
3737
player.setShowNavIcon(false);
3838
}else if (v.getId() == R.id.btn_play_sample_3) {
39-
String url = "https://r3---sn-o097znes.googlevideo.com/videoplayback?nh=IgpwcjAxLnNqYzA3KgkxMjcuMC4wLjE&key=yt6&ratebypass=yes&source=youtube&dur=15892.363&lmt=1448977432536368&mime=video/mp4&pl=32&expire=1455621993&mm=31&mn=sn-o097znes&ip=2600:3c01::f03c:91ff:fe70:35ff&upn=tUX3VKaaIE8&sparams=dur,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,nh,pl,ratebypass,requiressl,source,upn,expire&mt=1455600346&mv=m&initcwndbps=16662500&ms=au&itag=18&ipbits=0&requiressl=yes&signature=B90159512BE71340D1112585C6B5744BBBA21784.03AA682D30B23C444773CBDB46A4B5F3F30C61D8&fexp=9407169,9408207,9416126,9420452,9422596,9423660,9423662,9424771,9425737,9426687,9428034,9428064,9428246,9428649,9428941&id=o-AAqIBBudm5xSSzsgeY2Han3wIQ4j2TUH3dlhQxA3XN5A&sver=3";
39+
String url = "https://r4---sn-ogueln7r.googlevideo.com/videoplayback?lmt=1448977432536368&signature=68DD73A2272E320D27CD7894F688D27AC0280AF6.37AC8C8A5DFEA4DDB19370F0BD63B8427EF22363&mime=video/mp4&key=cms1&itag=18&ipbits=0&pl=26&requiressl=yes&expire=1455701339&id=o-ALk1eZ8mUorQB1iSJV5tP0QSDNAWHgN9GeLw_Sqo3naK&sparams=dur,expire,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,nh,pl,ratebypass,requiressl,source,upn&upn=cXAgK-3yk2A&dur=15892.363&ip=45.32.19.159&sver=3&fexp=9405824,9408211,9415030,9416126,9417380,9419451,9420452,9422596,9422778,9423661,9423662,9426401,9426976,9427126,9427317,9427860,9428350,9428421,9428709&source=youtube&ratebypass=yes&redirect_counter=1&req_id=9c2ec062eb3aa3ee&cms_redirect=yes&mm=30&mn=sn-ogueln7r&ms=nxu&mt=1455679313&mv=u&nh=IgpwcjAzLm5ydDE5KgkxMjcuMC4wLjE";
4040
((EditText) findViewById(R.id.et_url)).setText(url);
4141
player.play(url);
4242
player.setTitle(url);

0 commit comments

Comments
 (0)