Skip to content

Commit 9ebb138

Browse files
authored
Update README.md
1 parent acf4838 commit 9ebb138

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ videoService.loadVideoPreview(
7070
//handle an error
7171
})
7272
```
73+
3. Enable/disable caching
74+
```kotlin
75+
val videoService = VideoService.build{
76+
enableCache(true)
77+
}
78+
```
79+
4. Enable/disable logging
80+
```kotlin
81+
val videoService = VideoService.build{
82+
enableLog(BuildConfig.DEBUG)
83+
}
84+
```
7385
## Play Video from VideoPreviewModel
7486
The BottomVideoController allows to run any oembed video in WebView.
7587
```kotlin

0 commit comments

Comments
 (0)