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

Amazon video player buttons react to users gaze #1

Open
JTostitos opened this issue Apr 10, 2024 · 1 comment
Open

Amazon video player buttons react to users gaze #1

JTostitos opened this issue Apr 10, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@JTostitos
Copy link
Owner

Describe the bug
When watching content in the Prime Video player, the invisible video controls react to your gaze.

To Reproduce
Steps to reproduce the behavior:

  1. Select content to watch
  2. Look around the video player

Expected behavior
White colored boxes should not appear when gazing.

Screenshots
Courtesy of Timothy Hatcher on Mastodon: https://github.com/JTostitos/Spectra/assets/17661536/e628a8e5-3693-470e-9293-7c4045c1ff4e

Platform (please complete the following information):

  • Device: Simulator & Apple Vision Pro
  • OS: visionOS 1.0
  • App Version: N/A
@JTostitos JTostitos added the bug Something isn't working label Apr 10, 2024
@JTostitos
Copy link
Owner Author

JTostitos commented Apr 10, 2024

Solution:
All video player controls that appear in the overlay should be moved into native UI toolbar at bottom of video player and the overlay should be hidden. See Image

Challenges Involved:

  • Finding the classes that Amazon's player overlay buttons call.
  • Hiding the video player overlay and all html related to the overlay buttons.
  • Calling the button classes in native Swift code and having the corresponding action fire in the webview.

@JTostitos JTostitos added enhancement New feature or request help wanted Extra attention is needed labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant