Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ct7ct7ct7 authored Jul 5, 2019
1 parent e2d0e0a commit b5a1049
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ dependencies {

```
lifecycle.addObserver(vimeoPlayer)
vimeoPlayer.initialize(59777392)
vimeoPlayer.initialize(true, 59777392)
//If video is open. but limit playing at embedded.
vimeoPlayer.initialize({YourPrivateVideoId}, "SettingsEmbeddedUrl")
vimeoPlayer.initialize(true, {YourPrivateVideoId}, "SettingsEmbeddedUrl")
//If video is pirvate.
vimeoPlayer.initialize({YourPrivateVideoId},"VideoHashKey", "SettingsEmbeddedUrl")
vimeoPlayer.initialize(true, {YourPrivateVideoId},"VideoHashKey", "SettingsEmbeddedUrl")
```
Expand Down Expand Up @@ -147,6 +147,7 @@ vimeoPlayer.play()
vimeoPlayer.pause()
vimeoPlayer.loadVideo(19231868)
vimeoPlayer.recycle()
vimeoPlayer.clearCache()
```


Expand Down

0 comments on commit b5a1049

Please sign in to comment.