Skip to content

[BUG]: Video rect not updatingΒ #4488

@Jadeon-FPM

Description

@Jadeon-FPM

Version

6.11.0

What platforms are you having the problem on?

Android

System Version

Android 15 and 14

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

Our app does does its own handling of PiP on Android and does not use the new built-in react-native-video functionality (yet).

When switching to PiP, then returning, the video is displayed in a portion of the video view that's the same size as the PiP window. It can be forced to update in some circumstances, but I need to investigate that further.

As a sanity check I set the <Video> element's style to have a green background, and the view itself is the correct size, but the video is only drawn to a smaller portion of that view.

I tried a bunch of versions, and found that the issue was introduced in v6.9.0. It is fine in 6.8.2. I took a cursory glance through the changes and didn't see anything obvious.

Image

Reproduction Link

No response

Reproduction

Step to reproduce this bug are:

  1. Play a video in fake-fullscreen (with 100% size style)
  2. Go into PiP at an app level
  3. Return

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions