Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Song does not play when disabling autoplay #47

Open
Lucidiot opened this issue Nov 16, 2017 · 2 comments
Open

Song does not play when disabling autoplay #47

Lucidiot opened this issue Nov 16, 2017 · 2 comments

Comments

@Lucidiot
Copy link

Chromium x64 version 62.0.3202.89 on Arch Linux 4.13.11

Chromium has a great hidden feature in chrome://flags that allows to disable autoplay, when setting the Autoplay policy flag to Document user activation is required and restarting. But the music on this app does not start playing, and the following warning is shown in the developer tools :

An AudioContext in a cross origin iframe must be created or resumed from a user gesture to enable audio output. (Song @ bundle.js:14055)

If possible, there should be a way to start it manually, or at least to detect that autoplay is disabled and ask the user to enable it.

@abstractmachines
Copy link

I am sure it's possible. But using the Chrome flags, which are experimental features, is an extreme edge case. Not sure if devs on this project have time for those kind of edge cases. If you want you could submit a pull request with the fix!

@RangerMauve
Copy link

Doesn't mobile Chrome do this by default?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants