Fix issue where story video does not stop playback when app is backgrounded.
This commit is contained in:
parent
1011e4b7f5
commit
a0c48bed6e
1 changed files with 1 additions and 0 deletions
|
@ -38,5 +38,6 @@ class StoryVideoLoader(
|
|||
|
||||
override fun onPause(lifecycleOwner: LifecycleOwner) {
|
||||
callback.getVideoControlsDelegate()?.detachPlayer()
|
||||
videoPlayer.pause()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue