TheWidlarzGroup / react-native-video

A <Video /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: pictureInPicture in ios not working.

megabeehothanhminh opened this issue · comments

Version

6.2.0

What platforms are you having the problem on?

iOS

System Version

17.4

On what device are you experiencing the issue?

Simulator

Architecture

Old architecture

What happened?

<Video source={{ uri: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4', }} style={styles.videoContainer} paused={false} fullscreen repeat preventsDisplaySleepDuringVideoPlayback pictureInPicture playInBackground playWhenInactive progressUpdateInterval={1000} resizeMode={'contain' as any} onPictureInPictureStatusChanged={() => { console.log('PIP CHANGED'); }} onPlaybackStateChanged={e => { console.log('PIP onPlaybackStateChanged', e); }} />

Reproduction

repository link

Reproduction

Step to reproduce this bug are: