< Audio > PlayBook plays do not.

Hello Experts,

I'm playing a clicking sound when the button is clicked in my application, I am unable to get the solution.

I am currently using the following code:

Audio var = document.createElement ('audio');
audio. SRC = 'button - 29.wav';
audio. Controls = true;
document.body.appendChild (audio);

Please help me to play the sound when the button is clicked.

Kind regards

Sandesh.

Something like

button.addEventListener("click", function() {audio.play();}, 0);

should do? Of course, you have created the front button of this code. If this does not work:-make sure that you have created the "audio" object, is brought to the place that you run the above code (or give it an id and get it) - make sure that the wav file is not a format that is not supported on the device - make sure you have the full and correct path for the audio file

Tags: BlackBerry Developers

Similar Questions

  • Files audio stereo plays only not on mono devices after rendering

    I have a stereo wav track recorded on a h5 zoom which is silent when played on a device that only play mono (most mobile devices). I've noticed that when I made and uploaded the video to YouTube and it plays fine on my PC but when I saw on my phone I got only the background music and audio interviews. I've scoured the web for similar problems, but nothing did. Someone must know how I can fix it. Here is a screenshot:

    Screen Shot 2015-06-29 at 10.23.06 AM.png

    As you can see, it's certainly a stereo file, but when it is made and posted on YouTube, mobile users have reported and I confirmed that the file is not playing. I've recreated the problem by making the video with mono sound and does not play the file. I must be missing something. Help, please! Thank you!

    There are several discussions in this forum about this, try this one:

    Re: Issue of Smartphone Audio

  • Audio widget plays do not when the site is online.

    I use audio widgets with mp3. All play when published to the catalyst for business but do not play when published on the online site.

    Business Catalyst: tomandandy

    Online site: tomandandy

    All MP3s are present in the current folder to the host server.

    Permissions problem?

    Thank you.

    JB

    Thanks for the quick response!

    I just solved this problem. It turns out that Mp3 were not playing on uppercase due site in the names of files online.

    Changed the names of files to include only lower-case letters and it worked!

    Thank you!

    JB

  • Audio file plays only not - CS6 After Effects

    I take a class of Motion Design and file .mov that the audio clip, I need has been provided by the monitor and worked in class using CS5 After Effects. When I try to work on the film at home, the audio file will not play. Must the sound file be a different working with CS6 file format?

    Hello

    I'll try to post your question in the general forum of After Effects: http://forums.adobe.com/community/aftereffects_general_discussion

    The people there are gurus of After Effects and experts that can help you effectively and prescribers.

    See you soon!

  • Very short audio file plays do not.

    Hi all.

    I have a slide where there is an image that collapses with an effect toward the Center. At the time of the collapse, I have a short (0.5 s) sound file of a shutter of the camera who plays at the same time.

    Then go to the next slide where there is another image that extends from Central, collapses, and then with the same sound in the next slide and so on and so forth.

    Initially, I created this in CP5 and everything worked fine.

    So, my client decided they wanted something different, so I deleted the sound and did what they wanted.

    I then upgraded to CP5.5.

    They decided they wanted to return as originally built.

    I have re-imported the audio file and replaced it in the guides as needed.

    If I play the slide using the space bar the sound plays very well.


    If I saw with F4, F8, F10 or F12 I can hear without the camera shutter. But all other sounds in the product work very well.

    I'm a bit confused!

    Someone at - he encountered this?

    I created a new project and plonked the audio file in a new slide and it works fine using the F keys.

    Don't know what I did but I must have changed something on it somewhere.

    Any help is appreciated!

    Hey Col,

    Can you mark the thread as answered? This will save me always are--' we look at

    Lieve

  • Audio does not play is not on the timeline in CS4

    Hi everyone, Sub: Audio not playing is not in AE CS4.

    I am trying to create a video with audio in AE CS4. It must be synchronized average little by little, to say voices to be mapped with the video/animation sequence.

    But im getting a huge problem here, my video works but my audio does not work I can not hear audio at all... I tried to import the audio into mp3, mp4 and wav format but no solution I am facing the same problem. But outside the CS4 audio exhibit very fine, I even used many device to test audio everywhere as the audio works fine... and my hardware (Sound) system are up-to-date.

    I browsed google and tried all sorts of solution here but no use. I used numpad + 0 for voice, but whenever he starts from the beginning as a ram preview. It is difficult to adjust the voice between the two / sync make exactly. I changed the settings by going into preferences and exit but no use

    I seriously need a solution... or I want to know CS4 is better or not or cannot be used for creating object. I feel better for me change, author it and fast.

    Please guide me on this problem, thanks in advance.

    Concerning

    Sunder

    That AE can do for you, it's literally a RAM Preview. You can just use space because only you will get a preview of the video. A preview rather RAM to hear the audio. In the Preview Panel, there is a checkbox indicating "to present" check that so that when you do a RAM preview it would start the wherever is your current-time indicator. Just so place a second or two before are to be synchronized.

  • Audio clips of some clips plays do not, while others play very well. Photo included.

    If for some reason, while I was working on my project, suddenly the audio playing back fine stopped playing sound back.

    After trying to solve this problem (reset the caches, import audio, restart the computer) I'm here asking for help.

    After an hour of banging my head and google search, I noticed that the clips suddenly not work had a different color to them.

    On the left is the clips on the right and work no job clips.


    Could be the problem?

    Thank you.

    Data sheet:

    CS 6

    MacBook Pro

    10.8.4 OSX

    8 GB ram

    The audio files are .wav.

    Screen Shot 2013-08-16 at 9.00.16 PM.png

    Hello

    Thanks for posting on the forums. Please right click on audio clips that do not have sound and go to option channels Audio and in the channels of the Source tab select left and right respectively in the drop-down list. This issue may arise if you there is "none" option selected in the source of the string tab. Please update if this solves your problem or not.

    Thank you

    Vinay

  • Captivate 6 Audio plays is not in preview

    I was insert audio into my slides in Captivate 6 project without problem. I inserted them, clicked on play, and they worked. This morning, however, I found that none of my audio would play when I click Play at the bottom of my calendar. He will play in the window audio slide when I double click on the audio. It will play when I click on the preview in the Menu Insert button. So why he won't play in the game under the timeline bar? Any ideas?

    Thank you

    Darin

    Hello

    Welcome to Adobe Community.

    This could be due to corrupted preferences.

    We could try to re-create the preferences, but it will remove your customizations in the workspace. But we will not completely remove the Preferences file, so we can get it back.

    In order to recreate the preferences, follow these steps.

    • Save your project.

    • Close Captivate

    • [Windows 7: C:\Users\[user name] folder of Captivate 6 \Local\Adobe\Adobe \AppData (hidden folder)

    • Windows XP: Settings\Application Data\Adobe\Adobe Captivate 6 record - [user name] C:\Documents and Settings\

    • Mac: /Users/ [user name] / Library/Preferences/Adobe Captivate 6 folder

    • Rename the folder 6 Captivate what either.

    • Launch Captivate and test your project.

    I hope this helps!

    Thank you!

  • An unknown audio program plays on top of the outhers. It starts on its own. She disappears for a while if I reboot. How to kill this nuisance.

    An unknown audio program plays on top of the outhers. It starts on its own. She disappears for a while if I reboot. How to kill this nuisance.

    The first Question of troubleshooting: If the problem is new, what has changed between the time things worked and the time they do not have?

    The second issue of Windows troubleshooting: what is the status of virus/malware of the machine? If you think it's clean, what programs (and versions) allows you to determine this?

    Make sure that the computer is clean:
    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    If the computer is clean, use the the Task Manager or Process Manager to find out what is running if you can identify the program 'song' for you. MS - MVP - Elephant Boy computers - don't panic!

  • Exporting audio mixer effect is not to the final video.

    I had a problem in the last month. When I do a mix using the mixer Audio Panel to apply the effect of amplitude "Multiband Compressor" to a channel and the "dynamic" on the channel master, everything works fine and I can get a clean mixture in the sequence with voice and music with 20db of separation during live play. For example, the track VO is about - 2 dB. The music is - 20 dB or less Ch2 on.

    But If I now export the sequence into mp4 H.264, it seems the audio effects of layers are not rendered in the audio track or levels are reduced by - 7db at-10 dB. If I export the movie as a mp4 and report audio VO first raises around from - 9 dB and the music-20db. The music is invading the VO. So, I thought maybe the problem is that the effects of channel of the audio mixer Panel are not rendered in audio tracks.

    So I started to do some tests, If I have the same sequence of export in "Preset" H.264 Vimeo and then export to ProRes of Apple Quicktime mov audio is completely different levels. I have no idea why. Here is a screen shot of the same sequence, with compressor on, exported and re-imported in the mp4 and .mov.

    Screen Shot 2016-06-10 at 4.25.34 PM.jpg

    Same sequence exported as mp4 AAC 320kb

    Screen Shot 2016-06-10 at 4.53.35 PM.jpg

    Then exported as uncompressed audio file.

    Screen Shot 2016-06-10 at 4.53.44 PM.jpg

    Any other test I can do. This is confusing me.

    Thank you


    Dave

    Do similar tests with 1 k tone would be useful, you would have then exact db number to work with.

  • pressing play does not play video

    IM new to the forum and the process of edition of learning quickly.

    Noticing a problem with Premiere pro cc Version 9.2.0 (41)

    I have install a multi cam edit.  In the preview of a clip or the full SS.  Pressing on > play or the space bar, changes of the triangle to play icon icon stop box, but it does not play, does not move the playhead, the image does not play. The rest of the program seems to work, no reported errors.  My initial dose has been save, exit, project to start again and from time to time that would work.  Allowing me to get through some of the change.  Then simply not play more as described above.

    Think it is a matter of Adobe Premiere, as all the other functions of the system are working properly.  That is to say) VLC plays the clips, winamp plays audio...

    If someone has a parameter to verify or correct, would be very grateful.

    S

    I use win10 and have started a new project.

    Always the same question, he will work a few times and then initially explained.

    Its unbearable to edit like this.  Go to first Pro CC to uninstall and reinstall.

    I'll let you know the results...

    Uninstall it / reinstalling does not fix it.

    Then read something about microsoft office and GDI + does not seem to nowhere getting me.

    Then found an old article indicating - delete the Cache folder via

    Edition-Preferences-media - media Cache database - clean.

    Seems had toured it.

  • How to get audio to play on the timeline by rubbing through

    How to get audio to play on the timeline during the treatment, the clip is not cut, clip does not display an audio wave, looked through the help did not answer. When the clip is imported without options rise so uncertain where the issue is, any help is greatly appreciated, ty

    There is an option in the Preferences / Audio: audio playback while rubbing.

  • Sound does not play is not on iOS Devices?

    Hello

    I'm having a problem getting audio to play on my iOS devices (iPhone 4 and iPad Mini, both running iOS 7.1.2) but on the desktop and devices BlackBerry BB10 it seems to go well. All animation functions seem to work well. I have the audio in mp3 and ogg formats. I have "preload Audio" selected and "Autoplay" turned off. I think that the preload does not work on iOS devices (and probably others) but didn't he have on the cause of the problems? On or off it does not seem to make a difference in this case. I use a "play" button to start the animation at 0.5 seconds, and then in the timeline to 1.0 seconds I use a trigger with the following code:

    SYM.$("HollyInTheSnow2") [0]. Play();

    I use the version of Adobe Edge animate CC (just updated) 2014.1.1.

    Any help would be greatly appreciated, thanks in advance.

    I think I've solved my problem. Move the audio trigger at the button instead of the timeline works perfectly. :-)

  • Why my audio midi Setup does not recognize my external midi devices?

    Why my audio midi Setup does not recognize my external midi devices? The midi interface and all midi devices are connected.

    P.S. The icons and the midi interface are all "grayed out" in the midi studio window when I click or double click on it nothing happens.

  • Yahoo Video and other video plays do not

    Yahoo and other video plays do not in firefox 37.0.2
    They played automatically 5 days ago... Since then video screen is empty... not 'play' button
    I have updated Flash several times
    Tried to play these videos on IE... does not play there either.

    Thanks for your help!

    Uninstall flash from your computer, restart your computer, and then reinstall flash. Seems that it got confused on which version you have.

Maybe you are looking for

  • laptop suddenly stops when some startup programs.

    When I run certain Adobe programs like photoshop (illustrator and indesign works fine however) and competitor Autodesks Revit, software Archicad and Artlantis 3D works great. My Pavilion m6-1040eo turns suddenly, the screen becomes dark powerbutton g

  • Don't reinstall the Mavericks 10.9.5 clean, no available iPhoto?

    I have an iMac in early 2008. was running Mountain Lion, decided to do a clean reinstall of Mavericks (Genius bar has done that for me, in fact). 10.9.5 version Now I see there is no camera app not iPhoto, etc. I think that Apple includes ALL iPhoto

  • How to implement single and continuous run?

    Hi all: I add two front panel controls, a 'single' button and a 'continuous '. When "single" is pressed, the void VI runs only once. But when "continuous" is pressed, the sub VI runs continuously. I think I can use some time structure of the event, t

  • Pavilion dv4-1431us: hp pavilion keyboard and mouse

    I'm trying to update my laptop after not having used it a while - my daughter has used only listen to Spotify. Windows 10 previously installed. The keyboard and mouse on this laptop have stopped working. I used a wireless keyboard and a mouse who wor

  • Why Outlook edit text in e-mails to a VERY large print?

    In our business, we have at least five computers running Outlook Express (my soft Office 2010) with the following problem:Customers are often receive e-mails with text in very large print - hard to read and not a professional look for us.