Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
06-08-2012 09:02 PM - edited 06-08-2012 09:06 PM
Hi. I am working on a simple application using HTML5 audio tag. I deploy the application in virtual Playbook (BlackBerry WebWorks SDK for TabletOS 220.127.116.11 - BlackBerryPlayBookSimulator-1.0.7)
This is my config.xml:
<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="18.104.22.168"> <name>Radio</name> <description> A sample application to demostrate some of the possibilities. </description> <author> CESAR </author> <license> Example license. </license> <feature id="blackberry.ui.dialog"/> <feature id="blackberry.app.event"/> <content src="index.html" /> <icon rim:hover="false" src="icon-face-monkey.png"/> <access uri="*" subdomains="true"/> </widget>
<!DOCTYPE html> <html> <head> <title>audio testing live stream!</title> </head> <body> <p> REMOTE RADIO (works on playbook browser) <audio controls="controls" src="http://yp.shoutcast.com/sbin/tunein-station.pls?id
=737152&play_status=1"> </audio> </p> <p> MP3 (local file) <audio controls="controls" src="default.mp3"> </audio> </p> <p> REMOTE FILE <audio controls="controls"> <source src="http://upload.wikimedia.org/wikipedia/commons/a/a3 /Epro_theremin_middle_bach.ogg" /> </audio> </p> </body> </html>
Remote stream (shoutcast radio) and Remote file (ogg, http://blackberry.github.com/WebWorks-Samples/kitc
In remote stream the error was: "There was an error decoding this media. The media format not be supported".
What is wrong?
What can I do?
Solved! Go to Solution.
06-10-2012 09:31 AM
The problem on the remote stream part of your code is that it's fetching a *.pls (playlist) file, which is not supported by HTML5 Audio. If you want to know about format support on HTML5 Audio I highly suggest you to read this awesome piece called On HTML5 Audio Formats.
If I was helpful please click the Like button to support my work.
06-11-2012 11:35 AM
But in Firefox, Chrome and Playbook Browsers this works, and I test other streams and is the same problem (failed tests).
I think my app should have similar functionality to the Playbook Browser.
I test what is supported with: http://jplayer.org/HTML5.Audio.Support/
And I did these examples (only remote files, local files are ok) but is the same problem: http://blackberry.github.com/WebWorks-Samples/kitc
06-13-2012 08:39 PM