[Video] Use expo-video
from fork (#5159)
This commit is contained in:
parent
6d8ed5c3c8
commit
93c171b403
6 changed files with 7 additions and 652 deletions
|
@ -56,13 +56,13 @@ export function VideoEmbedInnerNative({
|
|||
contentFit="cover"
|
||||
nativeControls={isFullscreen}
|
||||
accessibilityIgnoresInvertColors
|
||||
onEnterFullscreen={() => {
|
||||
onFullscreenEnter={() => {
|
||||
PlatformInfo.setAudioCategory(AudioCategory.Playback)
|
||||
PlatformInfo.setAudioActive(true)
|
||||
player.muted = false
|
||||
setIsFullscreen(true)
|
||||
}}
|
||||
onExitFullscreen={() => {
|
||||
onFullscreenExit={() => {
|
||||
PlatformInfo.setAudioCategory(AudioCategory.Ambient)
|
||||
PlatformInfo.setAudioActive(false)
|
||||
player.muted = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue