-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Doesn't work on Android Phone - Google Chrome browser #67
Comments
Music is also not loading on Android M 6.0.1 (no error in console). |
Tried on Note 4 - Android version 5.0.1 Stock - Chrome browser . |
Galaxy Alpha - Android 5.0.2 - Chrome and Native browser. |
My google chrome version is 47.0.2526.83 I hope it helps to debug the issue further. |
we should not be using the ♫ character for the path. that seems to break chrome's paths. it's cute, but unnecessary. |
That character doesn't have anything to do with song playback. Every browser I know supports utf-8 URLs anyway. |
Perhaps I have a problem with the nginx configuration. for me the page did not load on chrome on android. |
The URL gets escaped in Chrome on Android, this is on purpose by Chrome, this is Chrome 44. And that results in NotFoundHttpException. Changing that route to the URL 'm' works for me. |
I'd suggest checking your nginx conf then. |
@etopian , what is your configuration to work on your mobile phone or even a device other that the server itself ? localhost:8080 on server OK that work. but on my computer or smartphone , i can't have KOEL even by IP on the URL :( . I tried apache but i failed and i wish to try with nginx but everytime that said me "error 404" or "forbidden 403" but i don't think it's a problem of rights... if you can explain me step by step , it should be very nice from you. I just put all files of koel in /var/www/koel/html. And try to follow this tuto unsuccessfully :/ : https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts. So this is my state : Thank you in advance :) |
@kevincaradant i use my docker image.. https://github.com/etopian/docker-koel |
Ah oki nice , i'm going to try ! :). |
I have debugged it on my android phone (5.1.1, cm12.1) with the latest Chrome Beta:
the related Code is [...] n=new Notification("♫ "+e.title,{icon:e.album.cover,body:e.album.name+" – "+e.album.artist.name}); [...] in resources/assets/js/services/playback.js:97 the Notification() has been removed from Chrome on Android, see here |
Damn! More work for us, thanks Chrome team! |
I saw this bugfix (wow you're fast!), but how do I implement it now that I've replaced the file? Do I have to reinstall koel entirely or is there a way I can just update it? |
Just On Sun, Dec 20, 2015 at 3:36 PM, lazyhummingbird notifications@github.com
|
I double checked that playback.js was up to date and did 'gulp --production' but I'm still having the same error :/ Sorry to resurrect this bug. This whole project is great work and I can't wait until it works on my mobile device. |
Just tried on Android and had no sound in Chrome/Opera. Works fine in Firefox. |
Now to think about it, that audio isn't being played shouldn't have anything to do with notifications. The |
Sadly I don't have an Android to test. |
@phanan, I was also having problems on my Android Chrome. Maybe if I have time tomorrow I will take a look |
@phanan, http://stackoverflow.com/questions/31843020/using-htaccess-authentication-breaks-html-audio-elements-in-chrome-android |
Well, except Koel doesn't use htaccess basic auth... On Tue, Dec 29, 2015 at 7:28 AM, Alvin Wang notifications@github.com
|
ok I did more digging. It is a bug related to chrome and Partial Content (206). I tried commenting that out and it worked in chrome on android. But it essentially removes the "streaming" aspect as it needs to download the song first before playing.. Not really sure how this can be fixed if it is a problem with chrome |
Thanks. If it's Chrome then I guess it will be fixed in no time. I have On Tue, Dec 29, 2015 at 3:28 PM, Alvin Wang notifications@github.com
|
@Dogfalo May I ask how you went about commenting out the cause of the issue? This bug in Chrome has prevented me from using koel since the first release. It just sits idle on my server. Would be great if we could add the temporary work around in the wiki as well for those thinking about using koel. |
Still cannot play on Chrome for Android 69... |
Hi Phanan,
I finally got it working. It works on and desktop as well phone. But on phone, it works only on firefox but not on chrome.
P.S: Phone is One plus one using Android L 5.1.1
Let me know if you need more details.
Thanks
Ritesh
The text was updated successfully, but these errors were encountered: