Android support

552 views
Skip to first unread message

slavian

unread,
Dec 16, 2010, 2:26:38 PM12/16/10
to jPlayer: the CSS styleable jQuery audio player plugin
I looking for HTML player to insert in my site, which will target
Android users.

But, i found, that demos on your site are not playing on my HTC
MyTouch 4G.

Any knowledge / issues / plans on that?

Hernan Lozano

unread,
Dec 16, 2010, 4:04:38 PM12/16/10
to jpl...@googlegroups.com
It depends on what demos you looked into.

The one that says native support true, should work


--
You received this message because you are subscribed to the Google Groups "jPlayer: the CSS styleable jQuery audio player plugin" group.
To post to this group, send email to jpl...@googlegroups.com.
To unsubscribe from this group, send email to jplayer+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jplayer?hl=en.


Mark P

unread,
Dec 16, 2010, 10:59:58 PM12/16/10
to jPlayer: the CSS styleable jQuery audio player plugin
Hello Slavian,

I have to admit that jPlayer 1.2.0 is not great in Android.

From research, he problem stems from the OGG format dominating the MP3
format inside jPlayer. This affects Android because it is a dirty
little liar and says that it can play OGG format, but then fails
because it can't really.

So for Android support in jPlayer 1.2.0, only use MP3 files.

From reports in this forum, the other issue that affects Android is
the CSS position style of the jPlayer div. By default it uses a
position:absolute to move itself out the way. Reports state that
wrapping the jPlayer div in another div with position:relative solve
this problem.

I suggested a possible alternative that might work, and that is
setting the jPlayer constructor option {position:"relative"}.

Unfortunately, we have not raised sufficient funds to purchase 2 key
devices for Mobile testing. A recent Android phone and a Blackberry.

For iOS support, we have the Apple SDK installed on a Mac which
emulates the iPad and iPhone very well. We also have some Mobile Apple
devices for testing.

The Android emulator has not been much help to us. You cannot install
the flash plugin since you need a android market account, and the
emulator is banned from accessing the market too.

in jPlayer 2, you have total control of the format priority, so the
MP3 issue should be eliminated. The code that forces a CSS position
style to be defined has also been removed. Have been trying to get jp2
released and hope to in the next few days.

Best regards,
Mark P.


On Dec 16, 9:04 pm, Hernan Lozano <herna...@gmail.com> wrote:
> It depends on what demos you looked into.
>
> The one that says native support true, should work
>
> On Thu, Dec 16, 2010 at 4:26 PM, slavian <slavi...@gmail.com> wrote:
> > I looking for HTML player to insert in my site, which will target
> > Android users.
>
> > But, i found, that demos on your site are not playing on my HTC
> > MyTouch 4G.
>
> > Any knowledge / issues / plans on that?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "jPlayer: the CSS styleable jQuery audio player plugin" group.
> > To post to this group, send email to jpl...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > jplayer+u...@googlegroups.com<jplayer%2Bunsu...@googlegroups.com>
> > .

slavian

unread,
Dec 17, 2010, 5:58:53 PM12/17/10
to jPlayer: the CSS styleable jQuery audio player plugin
I also have to mention, that as of version 2.2 (and lower) Android
support for <audio> tag is really buggy.

See following bug:
http://code.google.com/p/android/issues/detail?id=10546&q=audio%20tag&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

May be, also good idea to go and vote on that issue on their page...

Mark P

unread,
Dec 18, 2010, 8:09:40 AM12/18/10
to jPlayer: the CSS styleable jQuery audio player plugin
We made the decision for jPlayer 2 that we would follow the HTML5 spec
and audio would play in <audio> and video in <video> tags. I was aware
that you could fudge Android using the video for audio.

The problem is that you then mess up other mobile browsers that do
follow the spec. For example, the iPhone would always play audio with
the built in full screen video player.

Best regards,
Mark P.

On Dec 17, 10:58 pm, slavian <slavi...@gmail.com> wrote:
> I also have to mention, that as of version 2.2 (and lower) Android
> support for <audio> tag is really buggy.
>
> See following bug:http://code.google.com/p/android/issues/detail?id=10546&q=audio%20tag...

slavian

unread,
Dec 19, 2010, 5:25:41 AM12/19/10
to jPlayer: the CSS styleable jQuery audio player plugin
Seems, like you made right decision.
I started to see reports, that just released Android v2.3 in fact does
support AUDIO tag correctly. Can't wait to get that version...

wumpwoast

unread,
Jan 8, 2011, 9:20:54 PM1/8/11
to jPlayer: HTML5 Audio & Video for jQuery
jPlayer is wonderful software, and I've tested it on many browser/
platform combos. So far I've tried iOS 4.1 and 4.2 (even as a Web
Application / Home Screen bookmark), Nokia N900 Linux (MicroB (FF 3.5-
ish) + Flash), Chrome (Win, Linux), and Firefox/IE/Opera/Chrome
(Windows), and now N900 Nitdroid (Android 2.2 and now 2.3).

Since Froyo has such poor AUDIO tag support, I upgraded to Gingerbread
just to see jPlayer 1.2.0 work. It does, but the Next/Previous track
functionality doesn't work unless I do a "Pause/Play" cycle.

Does jPlayer 2.0.0 work on Android?

Justin
http://www.codaworry.com


On Dec 19 2010, 2:25 am, slavian <slavi...@gmail.com> wrote:
> Seems, like you made right decision.
> I started to see reports, that just releasedAndroidv2.3 in fact does

Jonathan2

unread,
Jan 9, 2011, 3:48:54 AM1/9/11
to jPlayer: HTML5 Audio & Video for jQuery
Hi there,

I may be missing something obvious here, but seeing as you have
Android and there's a 2.0 demo here http://jplayer.org/latest/demos/ ,
isn't that something you could instantly see yourself?


On Jan 9, 2:20 am, wumpwoast <boil.afr...@gmail.com> wrote:
> jPlayer is wonderful software, and I've tested it on many browser/
> platform combos. So far I've tried iOS 4.1 and 4.2 (even as a Web
> Application / Home Screen bookmark), Nokia N900 Linux (MicroB (FF 3.5-
> ish) + Flash), Chrome (Win, Linux), and Firefox/IE/Opera/Chrome
> (Windows), and now N900 Nitdroid (Android 2.2 and now 2.3).
>
> Since Froyo has such poor AUDIO tag support, I upgraded to Gingerbread
> just to see jPlayer 1.2.0 work. It does, but the Next/Previous track
> functionality doesn't work unless I do a "Pause/Play" cycle.
>
> Does jPlayer 2.0.0 work on Android?
>
> Justinhttp://www.codaworry.com

Mark Panaghiston

unread,
Jan 10, 2011, 5:46:22 PM1/10/11
to jpl...@googlegroups.com
I'd be interested in knowing how jPlayer 2 performs on Android. I'll need to brush up on the names for the different Android versions.

I took a look at your code. You code does not work in IE. Maybe that was your plan ;)

The easy way to break IE is to use poor syntax on JSON objects. While all other browsers ignore a sloppy comma on the last element, IE is strict and gets the hump.

[
  {...},
  {... E74.ogg"},
]

For once, I actually agree with IE and the other browsers should not accept broken JSON either. I imagine they allow them because they are so common when copying and pasting lines from a JSON object. I test in IE purely for the reason of detecting sloppy commas.

As for Android, we intend to purchase a device sometime this year as funds allow. To enable us to test jPlayer on the OS.

Therefore, I would appreciate the feedback on how the latest 2.0.0 demos perform on your phone.

Best regards,
Mark P.


Jonathan2

unread,
Jan 11, 2011, 3:34:40 AM1/11/11
to jPlayer: HTML5 Audio & Video for jQuery
On 10 January 2011 22:46, Mark Panaghiston
<mark.pan...@gmail.com> wrote:

> As for Android, we intend to purchase a device sometime this year as funds
> allow. To enable us to test jPlayer on the OS.

This will probably be of more interest to those in the UK, but were
you aware you can get a PAYG unlocked-for-free Android 2.1 phone
(which can easily be updated to 2.2) for £109?

Read this thread: http://www.hotukdeals.com/deals/orange-san-francisco-android-2-1-wv/763425?page=297

then visit this site for unlocking and updating instructions:
http://android.modaco.com/category/453/zte-blade-blade-modaco-com/

Both myself and Mrs Toast have one. We've put a £10 Tesco SIM in which
gives us 500 mins and £500 Mb and unlimited texts.
But it comes with a £10 topup to get you started.
But the best part is, it has built-in wi-fi so in fact you need never
pop a sim in it if you only want to browse the net on it.

I know I sound like a walking advert, but really for £109 one-off for
an Android, I don't think you can go wrong.
(Yes, I know £109 is still £109 but it's a heck of a lot cheaper than
£840 for 24 months of £35/month contract!)

Also, the guys over at http://android.modaco.com/category/453/zte-blade-blade-modaco-com/
are very knowledgeable. If you got a problem and no-one else can solve
it, you can ask the A(ndroid) Team!

UNregular Radio

unread,
Jan 11, 2011, 8:36:07 AM1/11/11
to jPlayer: HTML5 Audio & Video for jQuery
Hi Guys,

We have 3 different andriod devices at my work on pretty much a daily
basis and I would be happy to provide whatever testing with them I
can.

My radio station is currently in final production testing to start
using jPlayer for our streaming shoutcast feed, and I would love to be
able to contribute to this project. None of us are particularly strong
programmers but we can at least provide testing.

So far I have not seen any real functionality on any of our Andriod
devices: Motorola Driod (original, rooted 2.2, Dolphin browser), Nexus
(original, vanilla 2.2, built in browser), an an Eris (2.1, both
regular and dolphin browsers). I've tried it on the sprint EVO too
with no luck. So far all are mp3 streams I am trying to play. It
wouldn't really be a problem to try and test ogg or anything else
though, I just use mp3 in production.

To me it seems to be a problem with Andriod devices improperly
reporting their capabilities and/or brower. So they will lie and say
they support flash, but not run the app, or say they don't have a
function for html5 when their specs say they do.

The best way to do this would probably be to have one of us online
while you are testing and making changes. I am generally available
with these devices Monday, Wednesday, Thursday, and Friday from 11am
EST to 9pm EST.



Bests,

Matt


On Jan 11, 3:34 am, Jonathan2 <digitalto...@gmail.com> wrote:
> On 10 January 2011 22:46, Mark Panaghiston
>
> <mark.panaghis...@gmail.com> wrote:
> > As for Android, we intend to purchase a device sometime this year as funds
> > allow. To enable us to test jPlayer on the OS.
>
> This will probably be of more interest to those in the UK, but were
> you aware you can get a PAYG unlocked-for-free Android 2.1 phone
> (which can easily be updated to 2.2) for £109?
>
> Read this thread:http://www.hotukdeals.com/deals/orange-san-francisco-android-2-1-wv/7...
>
> then visit this site for unlocking and updating instructions:http://android.modaco.com/category/453/zte-blade-blade-modaco-com/
>
> Both myself and Mrs Toast have one. We've put a £10 Tesco SIM in which
> gives us 500 mins and £500 Mb and unlimited texts.
> But it comes with a £10 topup to get you started.
> But the best part is, it has built-in wi-fi so in fact you need never
> pop a sim in it if you only want to browse the net on it.
>
> I know I sound like a walking advert, but really for £109 one-off for
> an Android, I don't think you can go wrong.
> (Yes, I know £109 is still £109 but it's a heck of a lot cheaper than
> £840 for 24 months of £35/month contract!)
>
> Also, the guys over athttp://android.modaco.com/category/453/zte-blade-blade-modaco-com/

Maboa

unread,
Jan 11, 2011, 9:53:06 AM1/11/11
to jpl...@googlegroups.com
Thanks Jonathan for the info - (most useful) and thanks Matt for the info and offer to help (we may well take you up on it).

I love this community :)

Cheers

Mark B

slavian

unread,
Jan 11, 2011, 1:00:28 PM1/11/11
to jPlayer: HTML5 Audio & Video for jQuery
Want to remind, that all Androids version before and including 2.2
doesn't support AUDIO tag.
So, jPlayer may work, only if Flash is used.
AUDIO tag support seems to be enabled in Android 2.3

See this bug for details:
http://code.google.com/p/android/issues/detail?id=9372

wumpwoast

unread,
Jan 11, 2011, 1:11:05 PM1/11/11
to jPlayer: HTML5 Audio & Video for jQuery
You are right. I should have tried the demos!

But multiboot on N900 is an occasionally brick-worthy proposition. :)
And the overall Android experience on N900 is a very hacker-ish,
unsupported affair. Once multiboot is proven to not brick my phone, I
shall try again. However, I'm still interested in hearing others'
experiences testing jPlayer on real Android/Gingerbread phones.

Cheers,
Justin

wumpwoast

unread,
Jan 12, 2011, 9:08:38 PM1/12/11
to jPlayer: HTML5 Audio & Video for jQuery
The jPlayer 2.0.0 audio demos do not work on my stock Android 2.3
browser. According to the jPlayer event viewer, they get stuck on the
timewaiting event and play no audio, even after multiple Pause/Play,
Next/Prev, and other events. In the video demo, the video is opened in
what looks like an Android full-screen player once the Play button is
pressed. So it works in a sense -- but not as part of the normal web
viewport.

Mark P: Thanks for looking at my code and finding its weak points. ;)

I love my N900 phone, but as an Android test platform it's hard to
recommend. It takes some work to get Gingerbread multibooting
alongside the default Linux OS, and due to swappiness/crashes in basic
features like keyboard and browser, I feel like it may not represent
the media experience of a real Android phone very well. Shame, because
you can find them for $250 on eBay. Then again, from an Android
perspective it might be like coding for an old 486 PC: if it runs fast
on NITDroid Gingerbread, it will run fast on any real Android
phone. :)

Justin

Senor Cardgage

unread,
Jan 21, 2011, 11:54:05 AM1/21/11
to jPlayer: HTML5 Audio & Video for jQuery
I'm using an Archos 32 with Android 2.2.1 installed. I have flash
player 10.1 installed. When I visit
http://www.jplayer.org/latest/demo-01/
It does not work.
Can somebody post a link to a page that works (audio) in Android 2.2?
I'd love to see a working example.

On Jan 12, 7:08 pm, wumpwoast <boil.afr...@gmail.com> wrote:
> The jPlayer 2.0.0 audio demos do not work on my stockAndroid2.3
> browser. According to the jPlayer event viewer, they get stuck on the
> timewaiting event and play no audio, even after multiple Pause/Play,
> Next/Prev, and other events. In the video demo, the video is opened in
> what looks like anAndroidfull-screen player once the Play button is
> pressed. So it works in a sense -- but not as part of the normal web
> viewport.
>
> Mark P: Thanks for looking at my code and finding its weak points. ;)
>
> I love my N900 phone, but as anAndroidtest platform it's hard to
> recommend. It takes some work to get Gingerbread multibooting
> alongside the default Linux OS, and due to swappiness/crashes in basic
> features like keyboard and browser, I feel like it may not represent
> the media experience of a realAndroidphone very well. Shame, because

slavian

unread,
Jan 29, 2011, 2:31:05 PM1/29/11
to jPlayer: HTML5 Audio & Video for jQuery
Tried jPlayer 2.0 audio player demo. It only plays in Flash mode ( I
have Flash installed). But it don't play in mp3 mode.
Tried on my HTC MyTouch 4G with Android 2.3.

Sarbjit Singh

unread,
Jan 29, 2011, 4:30:53 PM1/29/11
to jpl...@googlegroups.com

Player 2 working on galaxy tab 2.2


--
You received this message because you are subscribed to the Google Groups "jPlayer: HTML5 Audio...

Maboa

unread,
Apr 13, 2011, 7:35:50 AM4/13/11
to jpl...@googlegroups.com
Looks like this phone is no longer available. Anyone else got a suggestion for a similar Android phone (unlockable with WIFI)

Thanks

Mark B

Jonathan2

unread,
Apr 13, 2011, 8:03:06 AM4/13/11
to jPlayer: HTML5 Audio & Video for jQuery
Yeah, try the Orange San Francisco I mentioned a month or so back:

http://shop.orange.co.uk/mobile-phones/san-francisco-from-orange-in-grey

£94.99 PAYG (£5 off currently), unlockable for free, HUGE unofficial
community support and custom builds inc Froyo at

http://android.modaco.com/category/453/zte-blade-blade-modaco-com/

Maboa

unread,
Apr 13, 2011, 9:36:54 AM4/13/11
to jpl...@googlegroups.com
Thanks Mr Toast - it's in the post!

Jordan Dobson

unread,
Apr 13, 2011, 10:54:17 AM4/13/11
to jpl...@googlegroups.com, Maboa
I'll be doing a lot of testing here in the next week or so. I have a XOOM I'm developing for which is Android 3.0.

Do you know what the support is 3.0?

Also, If you ever need anyone to snag you a phone or two in the US and send it to you guys... I would be glad to help.

- Jordan

On Wed, Apr 13, 2011 at 6:36 AM, Maboa <mark...@gmail.com> wrote:
Thanks Mr Toast - it's in the post!

--
You received this message because you are subscribed to the Google Groups "jPlayer: HTML5 Audio & Video for jQuery" group.

To post to this group, send email to jpl...@googlegroups.com.
To unsubscribe from this group, send email to jplayer+u...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/jplayer?hl=en.



--
Jordan Dobson  Designer / Developer  425-444-8014  About.Me/JordanDobson
Reply all
Reply to author
Forward
0 new messages