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

feat(player): modify SpatialNavigation class & Component class #2

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

CarlosVillasenor
Copy link
Collaborator

@CarlosVillasenor CarlosVillasenor commented Dec 20, 2023

Modify SpatialNavigation class:
-Add function ‘handlePlayerBlur’
-Add function ‘handlePlayerFocus’
Modify Component class:
-Modify ‘handleBlur’
-Modify ‘handleFocus’

Description

This is require to complete the point of "we should provide events-based API for cases when the player enters/leaves focus so that the client app can call the player.spatialNavigation.pause/resume" of ticket: https://brightcove.atlassian.net/browse/WP-1372.

Specific Changes proposed

Please list the specific changes involved in this pull request.

Requirements Checklist

  • [ x] Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chrome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
  • Reviewed by Two Core Contributors

Modify SpatialNavigation class:
-Add function ‘handlePlayerBlur’
-Add function ‘handlePlayerFocus’
Modify Component class:
-Modify ‘handleBlur’
-Modify ‘handleFocus’
@bzizmo bzizmo merged commit e8e1dfd into spatial-navigation Dec 21, 2023
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

Successfully merging this pull request may close these issues.

2 participants