Audio player - Android issue

alt=
@andrusito
10 years ago
302 posts
Hello, I installed J5 and everything was fine untill I uploaded a mp3 file and try it on my Android phone.

The audio player is being display but the song is not working, I hit 'play' button but it does nothing..

Does anyone have the same problem? is it a bug?

I've test using Android native browser and Opera Mini app.

Android ver: 2.3.6

Thanks!
updated by @andrusito: 02/19/14 02:59:21AM
brian
@brian
10 years ago
10,148 posts
there is no "android native browser" (unless you mean Chrome) - I know that HTML 5 audio works on some android phones, and not others - trying to make sure it works on every one of the 5,000+ android variations is not feasible, but it should work as long as the mobile browser supports HTML 5 audio.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
10 years ago
302 posts
I don't mean Chrome. I'm talking about the browser that comes with Android by default.

Today I tried my J5 on a tablet running Android 4.0.4 and could play the mp3 using the default browser. Anyway it doesn't work with Opera mini.

Thanks for your support Brian.

================================================================
It could be great if anyone else post this kind of issue below.
================================================================
alt=
@andrusito
10 years ago
302 posts
Another question Brian, are u working on this to make music player available in more devices?
delete-me-please
delete-me-please
@markopolo
10 years ago
4 posts
@andrusito, open these links on your phone's stock browser:
http://whatbrowser.org/
http://www.whatismybrowser.com/what-is-my-user-agent

Reply to this topic with the info , then @Brian might get an idea of the browser used on your phone.

I have Samsung Galaxy S4 with "Chrome" and the native samsung's 'Dolphin' browser (modified version of stock droid browser)
I know HTML5 audio works on Chrome.

However, I haven't tried the Stock browser yet. I'll post results when i get the chance to.
brian
@brian
10 years ago
10,148 posts
Yeah there are like 100+ different browsers for Android, and every manufacturer has their own "browser" they put on the phone, so whether or not it works depends on what they may have used as the "base" for their mobile browser.

There are plans to expand the mobile support by also encoding to OGG format (which some mobile devices support in place of MP3), but that's not done a this time and will be in a future update down the road.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
10 years ago
302 posts
@marcel whatbrowser says I'm currently using "Android 2"

and whatismybrowser says my user agent is:

Mozilla/5.0 (Linux; U; Android 2.3.6; es-es; GT-S5570I Build/GINGERBREAD)
AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
brian
@brian
10 years ago
10,148 posts
I didn't know they made a mobile Safari for Android?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
10 years ago
302 posts
Yeah, me neither..

Look, I found this line on jrAudio_button.tpl from Audio module:

mp3: "{$jamroom_url}/{$media[0].module_url}/stream/{$params.field}/{$media[0].item_id}/key=GzBb8dn87M4j/file.mp3"

Is it ok? It finish with "file.mp3"...
updated by @andrusito: 01/17/14 04:46:15AM
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
andrusito:

Today I tried my J5 on a tablet running Android 4.0.4 and could play the mp3 using the default browser. Anyway it doesn't work with Opera mini.



================================================================
It could be great if anyone else post this kind of issue below.
================================================================

That is because currently it wont play on your Android phone. This isnt a Jamroom BUG but a war between Android and Apple which fueled also from Apple and PC and travels far and wide from web developers to video game developers, mobile developers ect..

Developers have screamed for a UNIVERSAL FORMAT that will work on all devices... and there was a huge pissing match over .ogg .mp3 and then flash chimed in...

What was going to be the standard format for the web?

Would it be free or would you have to pay to develop with it?


Android has been so bent out of shape that the world chose MP3 over OGG they actually didnt support mp3 initally except on a few devices if any. Hoping they could force the world to use .ogg

This continues as well in to the tablet war to conquer the market on various topics.

Good News Is:

They have finally came around to their senses and Android looks like they will start bringing in support for html5 in to their devices in the future.

Heres a chart showing this progression: http://mobilehtml5.org/

Devices with HTML5 and .mp3 format are solid choices to work with if your concerned with your phone being you targeted market for Jamroom.


Its probably not going to happen that a developer wastes their time creating a solution for your old devices that dont support this as the future will never support it. Everything will be HTML5 and .mp3 and beyond.


"Its not that it cant be done... Its just that, it would be like selling you a car (device) that takes leaded gasoline (OGG) and you asking to have a mechanic make it use unleaded (MP3) because all the gas stations (HTML5) are unleaded (MP3)." The All gas stations in the future are (HTML5) serving Unleaded (mp3) and Diesel (flash)".

Better off just buying an unleaded or diesel car (device) now days.



updated by @developer-networks: 01/17/14 06:27:42AM
brian
@brian
10 years ago
10,148 posts
andrusito:
Is it ok? It finish with "file.mp3"...

Yes - that is how it needs to be...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
I hope my post above did not come across as rude. I was In discussion the other day where a client was asking me these same questions about the android phone and I was just trying to pass the conversation along here as it seems your dealing with the same issues on the device. Anyways I hope it came across as informative and not derogative.
brian
@brian
10 years ago
10,148 posts
b360:
I hope my post above did not come across as rude. I was In discussion the other day where a client was asking me these same questions about the android phone and I was just trying to pass the conversation along here as it seems your dealing with the same issues on the device. Anyways I hope it came across as informative and not derogative.

No worries - I don't think it came across bad at all. This is something we'll just be dealing with forever, as there are literally thousands and thousands of android versions and browsers, and supporting them all is just not feasible.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
One thing I didn't mention that's pretty awesome especially for the folks who love their mobile devices is that Jamroom is already using html5 / .mp3... so it's got a pretty bulletproof future as far as compatibility across devices goes. The android community is struggling now to get on board, but their newer releases are gearing up with this comparably. Can't they all just get along! We've been saying that for years and looks like it will be 2014.
brian
@brian
10 years ago
10,148 posts
b360:
One thing I didn't mention that's pretty awesome especially for the folks who love their mobile devices is that Jamroom is already using html5 / .mp3... so it's got a pretty bulletproof future as far as compatibility across devices goes. The android community is struggling now to get on board, but their newer releases are gearing up with this comparably. Can't they all just get along! We've been saying that for years and looks like it will be 2014.

You know what's funny - is that when I first started developing JR1 back in 2002, everyone was using MP3 - alternate formats were so obscure no one used them, so in some ways it was actually easier 12 years ago than it is now, which is crazy :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 01/18/14 07:44:37AM

Tags