green-audio-player icon indicating copy to clipboard operation
green-audio-player copied to clipboard

No playbutton on mobile-connection

Open larsnsonsk opened this issue 4 years ago • 2 comments

Yes - very strange problem.

The Play button does not appear on mobile connection. No problem on Wifi connection with the same device. Testet on different Android devices with 3 different Browsers.

I was able to fix the problem temporarily when i set preload to none.

Yes, the type of network connection has nothing to do with the content and so on...... but wifi on: playbutton. Wifi off and reload: no playbutton. But the player (time...) appear on both. Also the mp3-file is only about ~100kb so this is no slow connection problem. It's also happened on the online demo.

Maybe its a Browser Problem, idk if browsers check the art of connection and replace things, but the player shows up without playbutton so something is strange there.

larsnsonsk avatar Aug 05 '20 07:08 larsnsonsk

Did you find a fix for this?

SAUserID avatar May 10 '21 05:05 SAUserID

https://github.com/greghub/green-audio-player/blob/master/src/js/main.js#L391

The function on this line might give you a clue as to what's going on. It toggles the visibility of the play button.

theMugician avatar Oct 18 '21 02:10 theMugician