NativeAlphaForAndroid icon indicating copy to clipboard operation
NativeAlphaForAndroid copied to clipboard

No sound.

Open NZsolt91 opened this issue 3 years ago • 3 comments

On my devices the Nativealpha isn't able to auto play sound. Is there a way to solve my problem?

NZsolt91 avatar Nov 16 '22 14:11 NZsolt91

Can you explain in more detail what the problem is? Sound playback is working definitely. If it's about auto-play, which website are you referring to?

Playback in background does not work and this is unlikely to change with the current browser engine.

cylonid avatar Nov 17 '22 15:11 cylonid

I'm also seeing a potentially similar issue on one of my own sites that uses the built-in html5 audio player controls. I'd be happy to debug it a bit further on my end, but I won't be able to get a build environment setup for a couple days. I tried to quickly look into the webview's devtools javascript console, but it doesn't look like webview debugging is enabled (side note - it would be awesome if that was exposed as a user setting).

Upon some quick googling I found this - https://stackoverflow.com/a/64124295 but unfortunately I can't try that workaround due to a CORS violation - which is likely due to the fact that I'm testing NativeAlpha with a Google Apps Script hosted page which has many layers of iFrames. FYI the syntax of the URL that works fine in full browsers is https://drive.google.com/uc?export=download&id=XYZ - Also, I was able to replicate this behavior in the DuckDuckGo browser, but there doesn't seem to be a way to enable webview debugging for it.

Let me know if there's anything else I can get you. I'll try to get a debug build going soon.

dustinkerstein avatar Dec 09 '22 01:12 dustinkerstein

Figured it out. It seems that if Accept third-party cookies is disabled, you'll have these OAuth issues. Enabling that setting completely solved my issue (though not sure it is the same as OP's).

dustinkerstein avatar Dec 09 '22 02:12 dustinkerstein