04-02-2011 08:46 AM
I am trying to play audio from local file system and stream audio internet.
I tried blackberry.audio.Player method explained in webworks api documentation. I guess playbook does not have this object installed, because as far as I can see I am getting an exception because of an access to uninitialized object.
Secondly, I tried jplayer, which uses html5 audio player if html5 extensions are available, and falls back to adobe flash player if html5 does not succeed. It was still not successful...
Thirdly, I have tried pure html5 player. I can see the controls, the audio length is shown with "-" value? (I didn't understand why?) but no audio.
I tried the second and third method in google chrome, it works. Do you have any idea what might be wrong? What is the recommended method for playin audio?
Solved! Go to Solution.
04-02-2011 08:50 AM
By the way,
The default web browser on playbook(0.94) crashes with the demo of jplayer:
04-02-2011 10:52 AM
Hi there,
There have been a few threads around this topic on the forums. The blackberry.audio API is only on the smartphone platform.. The PlayBook WebWorks APIs can be found here:
http://www.blackberry.com/developers/docs/webworks
Audio not playing in the simulator is a known issue. The 0.9.4 simulator does not come with any codecs to be able to play audio or video. This will be corrected in the final RTM version of the simulator.
01-17-2012 05:00 AM
12-03-2012 07:38 AM
I want to ask you if the Playbook simulator does actually have audio support, I can´t make it work
Thanks in advance for your help