HTML5 audio just doesn't work

Hello

I have a few elements of html5 audio placed directly on the page markup.

I then start with js to play at certain times of the app.

In all other devices/browsers this works very well.  In BB10 WebWorks, that it is not.  It is a major obstacle for delivery on my project.

It's my audio player:

        

And this is the code I use to set it off:

document.getElementById('genCorrect').play();

Don't play any sound at all.

My model is Z10

The software version is 10.1.0.273

Any help would be received with gratitude!

Hi Payso,

I tried your sample on the same device/software code and sound plays for me, so we'll see what that might be:

1. after triggering play(), hit the volume Up and Down keys, the dialog box is on-air should appear and display the name of the audio file, but also a play or pause button. If you see the pause button, it indicates that the audio file is reproduced. What do you see in the dialog box is on the air after play() is called?

2. If you copy the file to the device, you are able to play using the file manager/music apps?

3. is the local or remote file at the WebWorks app?

4. have you tried other audio files?

If you have a web server (xampp, wamp), try hosting the web page and pointing your browser to BlackBerry 10 page and the test.

Tags: BlackBerry Developers

Similar Questions

  • Embedded audio player doesn't work with Firefox in a laptop computer, but works fine on a PC. How can I fix? It started with the new design of Firefox.

    This problem apparently only occurs with the audio player built into http://www.theskepticsguide.org/ . I tried other embedded audio players from other websites and they work fine. In the Firefox installed in my laptop, no matter what I do it does not play the SGU podcast. When I try to click on the download option it says "Video cannot be read because the file is corrupted. However, I can play and download the podcast without any problem with Firefox installed in my PC, which is the exact same version that is in my laptop, so I don't really know what could be the cause.

    I remember that this was not the case before the new design of Firefox. I tried the solutions proposed on this problem before asking this question. I checked that the plugins are up-to-date. I removed all the addons and plugins, and this did not help either. Firefox reset with no luck. Also tried a fresh install of Firefox and it didn't work. I used the laptop without synchronization first, and then synchronize with no difference. Flash is up to date and there is no apparent problems there.

    Maybe it's a codec missing or damaged? I wouldn't trust codecs from sources other than Microsoft for this purpose, since Firefox tries to use Windows to read the file.

    If you decide to give up and around the native player for a plugin, these changes of settings usually work for this:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste media and make a pause so that the list is filtered

    (3) [except XP], double-click on media.windows - media - foundation.enabled to change its value from true to false.

    (4) double click on media.directshow.enabled to change its value from true to false.

  • Satellite C655 Audio suddenly doesn't work, Win10

    I left my computer slowed down recently and returned to find the sound was, you guessed it, does not. I checked my speakers: market and plugged in without them: nothing. I watched the Volume mixer and found that it was not record my programs made no sound at all. my audio driver is supposed to be up to date or not requiring an update (CX20671 Conexant SmartAudio HD). I tried to reinstall the driver (a bit? uninstalled and checked for changes in the software) and restarting my pc (reboot happened everything first), nothing is. I wasn't listening to music a few min before, any ideas how to fix? Ill take suggestions

    Satellite C655
    Windows 10 home

    Wow too bad ok, a couple freezes and restarts force later it works...

  • What is with Windows/Microsoft Update just DOESN'T work anymore with Windows XP?

    Until this month, I had NO problem to do a clean install with XP SP3, on many machines, and then success for updates and the updates view about 5-10 minutes. Now scans darn take hours and hours and STILL does not give me an updated list.

    What did you bunch of bottom sorry * s to do the update of Windows/Microsoft for XP, quit working properly?

    BTW, I was trying to install IE8 for XP for the last 40 minutes and the installation is just stuck on "Download updates" and not to go further.

    What you idiots did, you did really good.

    I guess MS has started the "Anti-XP" campaign at the beginning and a doing, now XP, a PITA!

    Hi James

    What is your level of service pack? If you don't know, click Start, run and type "Winver" in the Run dialog box.

    Windows Update no longer works if you do not have Windows XP SP3 installed. If the previous step, you have confirmed that you don't have XP SP3 installed, you must download and install XP SP3 from the link below.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

    Note: You can safely ignore the warning text indicating that this package is not suitable for the it professional and network facilities.

    Important: to avoid a scenario where your system enters a 'loop', due to the installation of XP SP3, you need to check and make sure that your processor type is not an AMD (HP) or non-Intel Processor. You must install the package below the link if yours is a processor not intel before installing XP SP3

    KO 953356.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=23751

    If you have not already installed SP3, skip this step and proceed to the next step.

    Reset Windows Update components.

    http://support.Microsoft.com/kb/971058

  • My Yahoo toolbar has disappeared. I tried reinstalling several times but it just doesn't work.

    'My Yahoo Toolbar has disappeared'. I tried reinstalling several times but just, it will not appear in the toolbar space. I looked in the display of the toolbar and it is checked. I tried to uncheck and double check the display of the Yahoo toolbar. No luck. Help, please. I use this toolbar constantly.

    Could be. They are in the middle of the update to their servers at the moment so expect the odd mishap now and again.

    Oh, and could you click on the button 'Resolved' while he takes this thread out of the loop?

    Thank you.

  • This product is NOT worth the MONEY, it just doesn't work.

    I want to cancel my service. I lost 1 hour on the phone yesterday to have the same problems piling up today. I signed up for a year of service I want to cancel or get a service that is not cloud base being that I have to do everything manually. A loss of $180 per year.

    Hello

    Please contact support by calling/chat for cancellation requests and billing queries:

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    You can also check the help below document:

    https://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

    Please go through the Adobe - General conditions of subscription as well.

  • G780 wireless doesn't work anymore; the networks are but cannot connect

    I have a G780 bought earlier this year. It came with Windows 8, which I still use. Everything was working fine until today. All of a sudden I can't connect to my wireless network (I have a router that can have a 'network of comments' in addition to normal and I can not connect to one of these). I had been fiddling with the settings last night, but everything was working well. I can connect with other devices, so I know that the networks work.

    Networks appear in the list of available networks, but every time I try and connect it just doesn't work. To make sure that I wasn't just typing the wrong passwords I tried to disable all security on one of the networks (so it was a totally open network without password), and the laptop still unable to connect. I tried to reboot the router wireless, by restarting the computer, update the driver for the wireless card, uninstall the drivers and reinstall them, activation and deactivation of the wireless card, by unchecking the option to disable card wireless to save energy and last computer ditch effort that I even did this "Refresh" of Windows 8 option that uninstalls all programs you install and resets the default options. Which included also to uninstall my antivirus program, so I tried to connect without that too. Nothing has made any difference.

    Edited to add that I also downloaded and ran the diagnostic tool on the Lenovo site for my laptop and the version of Windows for wireless network problems and it did not show anything.

    I'd appreciate really no indication as to what to do next. I'm good enough at the end of my mind with this.

    It's the weirdest thing ever. I decided to give it a try once again just for the heck of it and like magic it works all of a sudden. I can now connect to two networks very well. I have nothing after my last try yesterday evening except put the computer into hibernation... I don't know how it works now, but I appreciate the help! I'll create a restore right now, just in case. Thanks for your replies!

  • Playbook HTML5 audio problem (problem of streaming media)?

    Hello. I'm working on a simple app using HTML5 audio tags. Deploy the application in virtual Playbook (BlackBerry WebWorks SDK for Tablet 2.2.0.5 - BlackBerryPlayBookSimulator - 1.0.7)

    It's my config.xml file:

    
    http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets"
        version="1.0.0.0">
        Radio
        
            A sample application to demostrate some of the possibilities.
        
        
            CESAR
        
        
            Example license.
        
    
        
        
    
        
        
    
        
    
    

    My index.html:

    
    
    
    audio testing live stream!
    
    
        

    REMOTE RADIO (works on playbook browser)

    MP3 (local file)

    REMOTE FILE

    Remote stream (shoutcast radio) and remote files (ogg, http://blackberry.github.com/WebWorks-Samples/kitchenSink/html/html5/audio.html) does not work on HTML5 app.

    In streams remotely, the error was: "there was an error decoding of this media. "The multimedia format not supported".

    What's wrong?

    What can I do?

    Now I know what was my mistake: the URL does not contain a stream, only a playlist (PLS) with multiple URLS to to access the stream. For more details you can see:

    http://en.Wikipedia.org/wiki/PLS_%28file_format%29

  • sort order doesn't work is not in the library module

    Hi, I shoot events with 2 different cameras, using a pool to the other and back dozens of times switching.  When I come home, I import the maps of two cameras in Lightroom. In the library module, the small previews on the bottom sort by chronological order of capture OF the CAMERA.  meaning that it shows all the photos sorted by capture of the camera one time and then all the photos, sorted by the time form camera capture 2.  I have many, many would prefer if the form of photos, both sorted cameras sort by ABSOLUTE capture time, not a single camera, then another.  In the library module, select view/sort/capture time but it just doesn't work.  any help?

    Thank you

    Triple - make sure that the camera clocks have been set at the same period.

    The best way to do that is to display the date of capture under the thumbnails mode grid library. In the library, view > Display Options and set the low label or the top of the Compact cell Extras to capture Date/time. Then set View > grid view Style > Compact cells.

    Then view > sort > time capture. Look closely at the date/time under thumbnails and pay attention to the AM/PM (if you are in a country with 12-hour formats).  The date/time by strictly ascending order?

    If they are not strictly ascending, thanks for posting a screenshot of high resolution of your entire window of LR showing the problem.

  • Lenovo X61T: (Intel WiFi Link 4695AGN) wireless adapter doesn't work!

    Hey guys,.

    I have been a user of X61T (tablet) for over 2 years now and have never had problems of WiFi connection, either. I've upgraded to Windows 7 last year and things have only improved.

    Today, however, after the uninstall of a program called "Connectify" that basically turns your laptop into a WiFi hotspot, my wireless Radio JUST doesn't work! My wireless Radio switch (it's at the front) is on (I pushed to the right). Until yesterday, it was working great. I even used my wireless network to create a hotspot WiFi using Coonectify. I also removed from Connectify because it did not work. And then I just uninstall Connectify because I don't see an interest in the creation of a hotspot, when I have a wireless router at home. I restarted my PC and her Viola - wireless RADIO WAS DEAD! I do not see the Green LED for WiFi on the far left will blink more. Gone!

    Went to Device Manager, and I see no problem with the device of 4695 Intel WiFi Link driver. Again, I uninstalled and downloaded the newest one. STILL DOES NOT!

    I checked the records to see if I can find all the entries of Connectify which may cause the problem, but Nada! Nothing there too! I feel fairly pessimistic because I got a new wireless router yesterday NETGEAR N-150 and even not 24 hours later, I'm back using the ETHERNET cable.

    I would really appreciate if someone can help me here! Thank you.

    GINORMOUS EXCUSES!
    Re-installed the device driver and the problem disappeared!

    PS, I hope that my post was in the less entertaining... I feel that sheepish now!

  • HTML5 audio does not work for mp3s.

    I can't get the tag < audio > work with mp3s on my system (FF 24, Win 7 x 64). I tried wav files, those that work well. But whenever I try to play mp3 files, the html5 player flashes just for a few milliseconds and then disappears. So, is there a limitation of bitrate (or any other limitation) for html5 audio tag on mp3s?
    Here's a code example and one of the mp3 files I am using - http://dindo.wz.cz/jukebox.html .

    (file http://dindo.wz.cz/Galaxy32Star4.mp3 )
    

    The console (ctrl + shift + k) gives these errors (rough translation):

    [14:07:48.861] HTTP 'Content-Type' of Type "audio/mpeg" is not supported. Failed to load the http://dindo.wz.cz/Galaxy32Star4.mp3 media. @ http://dindo.wz.cz/jukebox.html

    [14:07:48.862] unable to load one of the sources of the candidate. Media loading has been suspended. @ http://dindo.wz.cz/jukebox.html

    PS: Even the example of the w3c doesn't work when I remove the source ogg. (http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all).

    Yes, it seems that 7n delivered windows without the necessary codecs that firefox relies on playback of mp3/mp4 content: http://support.microsoft.com/kb/968211

    You can try if you can move by installing the 'WindowsMedia Feature Pack"by testing if it works using the aurora of firefox version, because firefox 26 will DShow as another method to decode mp3 files. I don't know if it is somehow based on the presence of related WindowsMedia files on your new pc if...

    https://www.Mozilla.org/Firefox/Aurora/

  • BB10 - HTML5 audio/video - stoped working

    Hello.

    I have worked with HTML5 audio and video in one of my stories and it worked until now, but it seems no longer works after that I updated the BB10 Dev Alpha to OS version 10.0.6.545. Someone else has experienced this problem so far?

    Add some practical information: BB10 WebWorks SDK 1.0.1.8 running (beta), bbUI.js 0.9.4 ('next' validation of July 20, 2012)

    Hi Adam. Thanks for your reply.

    I already thought about it. I needed to restart the device to make it work again. I'm reviewing the file system and if there is a video or even audio file, it should be played using the corresponding media HTML5 element. Seems the same question as for the NFC that fails at any time, and you cannot activate it (if left) or even turn it off (if performed).

    For codecs, you have everything summary that is compatible with the BB10 so far and in the future?

  • ToolTip works don't not in MAC and HTML5 Audio tags works do not correctly in Premiere Pro &lt; 9.2

    Hi all

    ToolTips do not work in any version of Premiere pro panels under Mac. We ask a web page aspx inside an iframe with nodejs-disabled = "true" parameter

    A tool tip feature works in windows environment.

    The HTML5 audio tag also seek bar is come in first pro versions < 9.2

    Screen Shot 2016-02-19 at 7.53.17 PM.png

    You can give your valuable comments to solve this problem.

    Thank you and best regards,

    ANOOP NR

    From CEP_6.1_HTML_Extension_Cookbook.pdf:

    "CEP 5.2 supports the HTML title attribute to show the ToolTip on Windows. However, it is not supported on Mac because of rendering out of the screen. The alternative is to use JavaScript instead, please refer to http://www.a2zwebhelp.com/bootstrap-tooltips for good examples. »

    Anoop, send me a snippet that reproduces the audio tag seek bar issue, in a Panel from the body?

  • Just updated to 8.1 windows and now my CS4 works with a lag in cloning takes forever and my pen doesn't work

    Windows 8.1 and now my CS4 is running with a delay... cloning takes forever and my pen doesn't work

    Hi taraa37719970,

    1. create a Notepad and type:

    # Use WinTab

    UseSystemStylus 0

    Save it as a text file named PSUserConfig.txt

    2. Open Run command and type appdata, and press ENTER key

    3. go to the location:

    Roaming - Adobe - Adobe Photoshop CS4-Adobe Photoshop CS4 Settings

    4. move the PSUserConfig.txt file to Adobe Photoshop CS4 Settings folder

    Kind regards

    Tanuj

  • Satellite L30: audio sound does not work - WinXP SP2

    Hello

    I just bought a new laptop (Satellite L30 PSL33E-02S01LBT). He had installed Windows Vista, but it was horribly slow.

    I installed Windows XP SP2 on it's updates. I installed all the drivers from toshiba site I could find for my model.
    Everything works fine except the sound. I tried to install the drivers found on the toshiba Web site, but it fails with this error:
    'No pilot only is supported in the suite of drivers' (AKA FRENCH: 'no driver no is supported in this suite of drivers').

    In my list of equipment I have this with a "?":
    (?) Audio device on High Definition Bus Audio

    I tried to install the Realtek drivers with 5.10.0.5273 version.
    Found the driver here: http://www.mbnet.fi/ajuriapaja/info.asp?AID=10015&TID=10431&OS=10
    This driver has been installed successfully, but the sound still doesn't work.

    So, I removed this driver and found my "Audio on Bus High Definition Audio device"...

    What could I do? Is this computer model toshiba laptop has problems with XP and the sound?

    Thanks for the help...

    Mico

    [Edited by: admin on March 8, 2007 20:21]

    Thanks for the solution Abe! :)

Maybe you are looking for