Giter Site home page Giter Site logo

Comments (28)

Thom-x avatar Thom-x commented on May 23, 2024

Music is also not loading on Android M 6.0.1 (no error in console).

from koel.

itinerant-fox avatar itinerant-fox commented on May 23, 2024

Tried on Note 4 - Android version 5.0.1 Stock - Chrome browser .
Page loaded fine. Music streaming didn't work in Mobile Chrome Browser.
Everything working fine in Mobile firefox.

from koel.

MarceauKa avatar MarceauKa commented on May 23, 2024

Galaxy Alpha - Android 5.0.2 - Chrome and Native browser.
All is fine on my local network.

from koel.

riteshpuj2013 avatar riteshpuj2013 commented on May 23, 2024

My google chrome version is 47.0.2526.83

I hope it helps to debug the issue further.

from koel.

etopian avatar etopian commented on May 23, 2024

we should not be using the ♫ character for the path. that seems to break chrome's paths. it's cute, but unnecessary.

from koel.

phanan avatar phanan commented on May 23, 2024

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.

from koel.

etopian avatar etopian commented on May 23, 2024

Perhaps I have a problem with the nginx configuration. for me the page did not load on chrome on android.

from koel.

etopian avatar etopian commented on May 23, 2024

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.

from koel.

phanan avatar phanan commented on May 23, 2024

I'd suggest checking your nginx conf then.

from koel.

kevincaradant avatar kevincaradant commented on May 23, 2024

@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 :

capturenginx
capturenginx2

Thank you in advance :)

from koel.

etopian avatar etopian commented on May 23, 2024

@kevincaradant i use my docker image.. https://github.com/etopian/docker-koel

from koel.

kevincaradant avatar kevincaradant commented on May 23, 2024

Ah oki nice , i'm going to try ! :).

from koel.

MyIgel avatar MyIgel commented on May 23, 2024

I have debugged it on my android phone (5.1.1, cm12.1) with the latest Chrome Beta:

Uncaught TypeError: Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
t.default.play @ main-56b549c9de.js:14
(anonymous function) @ main-56b549c9de.js:14
e @ main-56b549c9de.js:7

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

from koel.

phanan avatar phanan commented on May 23, 2024

Damn! More work for us, thanks Chrome team!

from koel.

lazyhummingbird avatar lazyhummingbird commented on May 23, 2024

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?

from koel.

phanan avatar phanan commented on May 23, 2024

Just git pull and then gulp --production ;)

On Sun, Dec 20, 2015 at 3:36 PM, lazyhummingbird [email protected]
wrote:

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?


Reply to this email directly or view it on GitHub
#67 (comment).

from koel.

lazyhummingbird avatar lazyhummingbird commented on May 23, 2024

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.

from koel.

pelletiermaxime avatar pelletiermaxime commented on May 23, 2024

Just tried on Android and had no sound in Chrome/Opera. Works fine in Firefox.

from koel.

phanan avatar phanan commented on May 23, 2024

Now to think about it, that audio isn't being played shouldn't have anything to do with notifications. The play() method is executed before notification happens.

from koel.

phanan avatar phanan commented on May 23, 2024

Sadly I don't have an Android to test.

from koel.

Dogfalo avatar Dogfalo commented on May 23, 2024

@phanan, I was also having problems on my Android Chrome. Maybe if I have time tomorrow I will take a look

from koel.

Dogfalo avatar Dogfalo commented on May 23, 2024

@phanan,
I took a very brief look last week, there were no console errors. I think the problem may be related to this:

http://stackoverflow.com/questions/31843020/using-htaccess-authentication-breaks-html-audio-elements-in-chrome-android
Chromium bug tracker: https://code.google.com/p/chromium/issues/detail?id=331876

from koel.

phanan avatar phanan commented on May 23, 2024

Well, except Koel doesn't use htaccess basic auth...

On Tue, Dec 29, 2015 at 7:28 AM, Alvin Wang [email protected]
wrote:

@phanan https://github.com/phanan,
I took a very brief look last week, there were no console errors. I think
the problem may be related to this:

http://stackoverflow.com/questions/31843020/using-htaccess-authentication-breaks-html-audio-elements-in-chrome-android


Reply to this email directly or view it on GitHub
#67 (comment).

from koel.

Dogfalo avatar Dogfalo commented on May 23, 2024

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

from koel.

phanan avatar phanan commented on May 23, 2024

Thanks. If it's Chrome then I guess it will be fixed in no time. I have
high trust in the team.

On Tue, Dec 29, 2015 at 3:28 PM, Alvin Wang [email protected]
wrote:

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


Reply to this email directly or view it on GitHub
#67 (comment).

from koel.

Isaiahjm avatar Isaiahjm commented on May 23, 2024

@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.

from koel.

lazyhummingbird avatar lazyhummingbird commented on May 23, 2024

@Dogfalo @phanan any chance that either of you can detail the fix?

from koel.

AtomicVar avatar AtomicVar commented on May 23, 2024

Still cannot play on Chrome for Android 69...

from koel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.