Skip to content

Video thumbnail/preview does not display on iPhone(only IOS) when using react-player v3 #2019

@DuCaoTien

Description

@DuCaoTien

I upgraded React-Player from version 2.x to 3.4.0, and I’m experiencing an issue where the video shows a white background instead of the thumbnail. This bug only appeared after upgrading from the v2 behavior.

From looking at the v2 source code, I noticed that the player is reloaded on iOS devices, which seems to resolve the issue.
if (IS_IOS) {
this.player.load()
}
Reference: #1138 (comment)

My question:
Should we reintroduce the iOS reload logic from v2 into v3?
If this behavior is restored in the new version, it would greatly help, because we could continue upgrading React-Player without having to implement custom workarounds inside our own codebase.

Please consider adding this back. Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions