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

[BUG] Splash screen doesn't play video in Safari #299

Open
vicwomg opened this issue Dec 27, 2023 · 5 comments
Open

[BUG] Splash screen doesn't play video in Safari #299

vicwomg opened this issue Dec 27, 2023 · 5 comments

Comments

@vicwomg
Copy link
Owner

vicwomg commented Dec 27, 2023

Describe the bug
Discovered in #293 . Safari fails to play queued video.

To Reproduce
Steps to reproduce the behavior:

  1. Launch pikaraoke headless
  2. Open splash screen on safari browser
  3. Queue up songs
  4. Songs do not play. Queue advances without playing.

Expected behavior
Queued should play video in the browser

Platform (please complete the following information):

  • OS: Mac / iPhone / iPad
  • OS version: Latest
  • Browser Safari

Additional context
Also affects ipad and iphone

@honestlai
Copy link

honestlai commented Dec 27, 2023

You can add Chrome on an amazon Firestick to this list.

I was hoping to be able to sideload chrome on my Firestick, load the splash page, and have it be the front end for the dockerized instance I have running.

The behavior is very similar to the splash page on iOS devices

@vicwomg
Copy link
Owner Author

vicwomg commented Dec 27, 2023

@honestlai Interesting. You're blazing many new trails here. How do you dismiss the interaction prompt on the Firestick? With the remote somehow?

@honestlai
Copy link

honestlai commented Dec 27, 2023

@honestlai Interesting. You're blazing many new trails here. How do you dismiss the interaction prompt on the Firestick? With the remote somehow?

Yup... there's a quirky add-on I found called Mouse-Toggle that allows you to double click the play button to use the remote as a mouse.

@vicwomg
Copy link
Owner Author

vicwomg commented Dec 28, 2023

Looks like this branch has the fortunate side effect of fixing this issue:
#304

I just tried it on Safari iOS and OSX. Worked as expected. Would be curious for others to try it.

@vicwomg
Copy link
Owner Author

vicwomg commented Dec 30, 2023

#303 gets it working in safari, but iOS gives up on the video after a couple of seconds. The error on the console is:

NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission

Playback works if I add "muted" to the video tag. So it appears as though this is definitely a case of restrictive OS permissions.

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

2 participants