0

I have a web app that uses jPlayer as the backbone of a playlist music player. This works properly on desktop in Google Chrome, but not in PhoneGap (porting to Android) and I've narrowed the problem to jPlayer. Does anyone know if PhoneGap supports jPlayer?

Also: I know there is a duplicate question: jPlayer and PhoneGap Build compatibility, but nobody answered there.

Community
  • 1
  • 1
vdelricco
  • 303
  • 1
  • 3
  • 13

2 Answers2

1

The Audio tag is broken in the Android WebView. If I remember correctly jPlayer makes use of the Audio tag so it will fail as well.

I'm working on a monkey patch over at:

http://macdonst.github.com/corinthian/

Simon MacDonald
  • 23,253
  • 5
  • 58
  • 74
  • If I only want the audio tag functionality while using Corinthian, do I need to build the project or can I just include the Corinthian Javascript file in my own project? The reason I ask is that I keep getting errors while running 'ant jar', and if I don't have to do that it would save me a lot of time trying to fix the compile errors. – vdelricco Jul 02 '12 at 16:25
  • Yeah, you'd only need the .js file if you only need the Audio monkey patched. – Simon MacDonald Jul 02 '12 at 16:59
  • Including the Javascript file in my project seems to make my project fail, is there any reason that should happen? – vdelricco Jul 02 '12 at 19:05
  • No, it really shouldn't fail. What error are you seeing? Perhaps we should take this offline over IM or email. – Simon MacDonald Jul 03 '12 at 13:35
  • I'm not seeing an error in LogCat in eclipse, the application just hangs. If you'd like you can email me at vince.delricco@videon-central.com, and hopefully we can get the issue sorted out. – vdelricco Jul 06 '12 at 15:00
  • Hi Simon. I was wondering if you were still willing to troubleshoot this with me. I just need to know if I should start to find an alternate solution to my problem, or if you think Corinthian can still help me out. Thanks for your time. – vdelricco Jul 09 '12 at 13:42
  • this is not correct player does work in phone gap web view on Android and iOS have been using it since last year. – greaterKing Mar 31 '14 at 18:59
0

Yes, it will work, jPlayer just wraps HTML5 audio/video functionality. Some tablet devices (iOS safari) have problems/flaws/limitations with media tags, if something won't work it will be a problem of HTML5 audio/video tags not jPlayer.

WHITECOLOR
  • 24,996
  • 37
  • 121
  • 181