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

onReady and onDuration events not triggering on Safari until you press play #1861

Open
ybwai opened this issue Jul 4, 2024 · 0 comments
Open

Comments

@ybwai
Copy link

ybwai commented Jul 4, 2024

Current Behavior

In Safari onReady or onDuration is not being triggered until the user presses play.

Expected Behaviour

Events should be triggered when the media is loaded like in Chrome without users pressing play.

Steps to Reproduce

  1. Add a ReactPlayer with an onReady or onDuration event with some console logs
  2. Load in Safari and see the logs do not show in console until you press play
  3. Do the same in Chrome, see the logs show when the media downloads without having to press play

Environment

  • Browser: Safari
  • Operating system: MacOs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant