Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ct7ct7ct7 authored Jan 20, 2019
1 parent 20b282c commit e6dad21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Unofficial Vimeo video player library for Android.

```
dependencies {
implementation 'com.ct7ct7ct7.androidvimeoplayer:library:1.0.2'
implementation 'com.ct7ct7ct7.androidvimeoplayer:library:1.0.3'
}
```

Expand All @@ -35,8 +35,12 @@ VimeoPlayerView vimeoPlayer = findViewById(R.id.vimeoPlayer);
getLifecycle().addObserver(vimeoPlayer);
vimeoPlayer.initialize(59777392);
//If video is open. but limit playing at embedded.
vimeoPlayer.initialize({YourPrivateVideoId}, "SettingsEmbeddedUrl")
//If video is pirvate.
//vimeoPlayer.initialize({PrivateVideoId}, "YourUrl")
vimeoPlayer.initialize({YourPrivateVideoId},"VideoHashKey", "SettingsEmbeddedUrl")
```

Expand Down

0 comments on commit e6dad21

Please sign in to comment.