Skip to content

Commit

Permalink
Update android/src/main/java/com/brentvatne/react/VideoManagerModule.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
freeboub authored Oct 10, 2024
1 parent 74abd7f commit 9c805d9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ class VideoManagerModule(reactContext: ReactApplicationContext?) : ReactContextB
fun exitPictureInPictureCmd(reactTag: Int) {
performOnPlayerView(reactTag) {
it?.exitPictureInPictureMode()
}
}

@ReactMethod
fun setSourceCmd(reactTag: Int, source: ReadableMap?) {
performOnPlayerView(reactTag) {
Expand Down

0 comments on commit 9c805d9

Please sign in to comment.