generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
PIP doesn't work for me on iOS or Android - it does nothing at all on both.
To reproduce
const ref = useRef<IVSPlayerRef>(null);
<IVSPlayer
autoplay
ref={ref}
streamUrl={uri} // m3u8 stream
style={style.video} // width:"100%", height: 300
/>
// then add a button that calls this
ref.current?.togglePip();
I have updated AndroidManifest with:
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|smallestScreenSize|orientation"
Expected behavior
Video should go into picture-in-picture mode, but instead nothing happens. Should it just work?
**Device:
- Real Device:
- Device: iPhone 15 Pro Max & OnePlus 7T Pro
- OS: iOS & Android
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
