-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
In the PR #1970.
In src/Player.tsx the line 77 of code is incorrect and is removing the props that are ment to be allowed though.
The problematic line of code removes the allowed props onReady and onStart and allows any random props instead.
if (key.startsWith('on') && !reactPlayerEventHandlers.includes(key)) {
It should be the inverse.
if (key.startsWith('on') && reactPlayerEventHandlers.includes(key)) {
Metadata
Metadata
Assignees
Labels
No labels