Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry WebWorks Contributions

Reply
New Member
Striss
Posts: 1
Registered: ‎01-23-2012
My Carrier: Bell Mobility

HTML5 Audio

Hi there, I've been trying to port my iPhone app to an html5 webworks app and have managed to get it working fine on some Blackberries but the audio isn't working on several models. I'm using HTML5 audio, so I figured it would work on any BB with OS 6 and up but so far that hasn't been the case. I've seen it running fine on some Curves, but seen it fail on some Torches. Do certain models handle html5 audio differently?

 

Please use plain text.
Trusted Contributor
mobilvar
Posts: 119
Registered: ‎11-28-2011
My Carrier: Verizon

Re: HTML5 Audio

Could you define the problem more precisely?

Please use plain text.
Contributor
mikebevz
Posts: 17
Registered: ‎04-19-2012
My Carrier: Telenor Denmark

Re: HTML5 Audio

hi Striss,

 

I've got the problem with Audio tag on Torch (http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Streaming-mp3-using-Audio-tag-do...)

 

It works in browser, but stalled in the app. Have you found a solution for that?

Please use plain text.
Developer
burakk
Posts: 89
Registered: ‎04-23-2011
My Carrier: Turkcell

Re: HTML5 Audio

Same issue here, loading stalls in the app, working fine in browser. Did you find a solution?

Please use plain text.
Contributor
mikebevz
Posts: 17
Registered: ‎04-19-2012
My Carrier: Telenor Denmark

Re: HTML5 Audio

Hi,

 

In my case the problem was that audio tag within the app couldn't handle 302 redirect, that is used by Soundcloud. What I had to do is to make a proxy service, that returns a direct URL from Soundcloud. It's a dirty and not user-friendly workaround, but it works. 

Please use plain text.
Developer
burakk
Posts: 89
Registered: ‎04-23-2011
My Carrier: Turkcell

Re: HTML5 Audio

Hi mikebevz, thank you.

 

Is your app working on OS 6.0+ devices or OS 7.0+ devices? 

 

 

Please use plain text.
Contributor
mikebevz
Posts: 17
Registered: ‎04-19-2012
My Carrier: Telenor Denmark

Re: HTML5 Audio

I haven't tested on 6, but 7 works fine.

Please use plain text.
Developer
burakk
Posts: 89
Registered: ‎04-23-2011
My Carrier: Turkcell

Re: HTML5 Audio

Thanks again.

 

Unfortunately, I don't have an OS 7 device. Did your app work also fine in simulators?

 

Please use plain text.
Contributor
mikebevz
Posts: 17
Registered: ‎04-19-2012
My Carrier: Telenor Denmark

Re: HTML5 Audio

I am developing under Mac, so I don't have any simulators. It's not a bad idea though, I need to bootstrap a vmware machine. 

Please use plain text.