Support for native events on video, dispatch to redux when event happens on video ref, not on specific action #5
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hloth/replica-player#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Imagine some user has a binding that muted/unmutes video in web browser. Currently redux state is updated when user presses mute/unmute button. On click event, components changes property in player and dispatches to redux. This way, redux will never change its state if user muted video not using this button.
Expected behavior
It's better to dispatch thunks to redux from native video events (such as onVolumeChange) so every change (including component's changes to player instance) will be recorded and rendered.