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.

inside custom component

Web and WebWorks Development

Reply
New Developer
Posts: 65
Registered: ‎08-07-2013
My Device: Blackberry Torch 9800
My Carrier: Mobile App Development

HTML Audio tag is support in Blackberry Torch 9800

Hi All,

 

   I have developed the simple web application...It contains the one audio file..Which is playing in Ripple Emulator..But it doesn't appear in Blackberry device..Why HTML audio is not support in Blackberry device...Anybody know please help me........Thanks in Advance.....

 

Here i attached my HTML Audio code.....

 

CODE:

 

<html>
<body>
<h3>This is Testing...!</h3><br>
<audio autoplay="autoplay" controls ="controls">
<source src="http://www.robtowns.com/music/blind_willie.mp3" type="audio/mpeg" />
Audio element not supported.
</audio>
</body>
</html> 

 

It works well in Ripple Emulator.....But not in Blackberry Torch 9800..

 

With Regards,

 

Marimuthu_P

New Developer
Posts: 17
Registered: ‎01-08-2013
My Device: Playbook
My Carrier: wifi

Re: HTML Audio tag is support in Blackberry Torch 9800

Toch 9800 runs on Blackberry OS 7.1. Blackberry browser in V7 does not support AUDIO tag.

 

Check this link out to learn about browser capabilites.

 

http://mobilehtml5.org/

Highlighted
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: HTML Audio tag is support in Blackberry Torch 9800

[ Edited ]

On BlackBerry OS, we've supported the <audio> element since BBOS 6.0:

https://developer.blackberry.com/html5/documentation/html_elements_2006657_11.html

 

That was when we adopted the WebKit engine as opposed to the proprietary engine in BBOS5 and earlier.

 

Just as a sanity check, can you try your test with a local file? (i.e. package an audio file with your actual application?)

 

Since you are reaching out to an external URL, it may be that you haven't white-listed the external URL in your config.xml?

https://developer.blackberry.com/bbos/html5/documentation/access_element_834677_11.html

 

The link provided by 


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.