Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Video does not play if renderLoader or poster props are provided (iOS) #4356

Open
KristineTrona opened this issue Jan 2, 2025 · 5 comments

Comments

@KristineTrona
Copy link

KristineTrona commented Jan 2, 2025

Version

6.8.2

What platforms are you having the problem on?

iOS

System Version

RN 0.76.5

On what device are you experiencing the issue?

Simulator

Architecture

New architecture with interop layer

What happened?

When using the new RN architecture on iOS the onLoad event is never fired if either renderLoader or poster props are provided. As a result the video never plays.

Reproduction Link

https://github.com/KristineTrona/rn-video-onLoad-bug

Reproduction

Step to reproduce this bug are:

  1. Provide either renderLoader or poster props to the Video component -> onLoad never fires -> video does not play
  2. Remove renderLoader/poster prop - video is loaded and plays successfully.
Copy link

github-actions bot commented Jan 2, 2025

Previous bot comment (click to expand)
Previous bot comment (click to expand)

Thank you for your bug report. We will review it and get back to you if we need more information.

There is a newer version of the library available. You are using version 6.8.1, while the latest stable version is 6.8.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

Copy link

github-actions bot commented Jan 2, 2025

Previous bot comment (click to expand)

Thank you for your bug report. We will review it and get back to you if we need more information.

@KristineTrona KristineTrona changed the title [BUG-iOS]: Video does not play if renderLoader or poster props are provided [BUG]: Video does not play if renderLoader or poster props are provided (iOS) Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Thank you for your bug report. We will review it and get back to you if we need more information.

@mpereal
Copy link

mpereal commented Jan 4, 2025

+1

1 similar comment
@krunalsolution
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants