Html 5 audio tag not working

Hi, I am trying to create a web page that links to an audio file. I have added the <audio> tag which works in my Safari browser on my Mac but does not work on the i-phone. If I save the page by bookmarking and adding to my Home Screen I have more success. This is not a desirable option.
Does anyone have any ideas?
Glenn

well for anyone else.
my html was fine. in fact the server nginx was returning the wrong content-type and so i had to add the MIME types into my nginx config file.

Similar Messages

  • HTML 5 audio tag not working in FF

    I am developing a website in asp.net and html 5 and trying to add some audio to the site.
    My site is:
    http://www.kevinroseworld.com/music.aspx/
    It is, currently, a very simple set up, just the one song. It works fine in Chrome and Safari, IE does not support the Audio tag and the message appears where it is supposed to, however, Firefox does not display the error message or play the audio file.
    I started using FF 3.6.10 and have now upgraded to FF 4 Beta 6 and neither version works.
    Any advice as to how to fix this?
    I also had a look on other forums and found others with the same problem: http://www.manifestmusicproductions.com/soundsNonflash.php for example, works in Chrome/Safari but not in FF.

    well for anyone else.
    my html was fine. in fact the server nginx was returning the wrong content-type and so i had to add the MIME types into my nginx config file.

  • Audio tag not working in safari 5.1.7 browser on windows 7 machine

    Hi,
    I have a query. I need to play mp3 sound in the safari 5.1.7 browser on windows 7 machine using javascript code.
    I have tried all the three tags(<audio> <embed> and <object>) for playing mp3 audio in the javascript function. But I am not able to play sound. I also doubt whether there is a change needs to be done in safari browser settings. Can anyone please guide me on playing mp3 sound.
    function playSound() {
        soundURL = "LoginSound.mp3";
        <audio autoplay=\"true\" ><source src=\""+soundURL+"\" type=\"audio/mpeg\"></audio>
        <embed id=emb1 src='"+soundURL+"' hidden=true autostart=true loop=false>
        <object data='"+soundURL+"' type='audio' src='"+soundURL+"' autoplay=true autostart=true>

    Hi,
    I have a query. I need to play mp3 sound in the safari 5.1.7 browser on windows 7 machine using javascript code.
    I have tried all the three tags(<audio> <embed> and <object>) for playing mp3 audio in the javascript function. But I am not able to play sound. I also doubt whether there is a change needs to be done in safari browser settings. Can anyone please guide me on playing mp3 sound.
    function playSound() {
        soundURL = "LoginSound.mp3";
        <audio autoplay=\"true\" ><source src=\""+soundURL+"\" type=\"audio/mpeg\"></audio>
        <embed id=emb1 src='"+soundURL+"' hidden=true autostart=true loop=false>
        <object data='"+soundURL+"' type='audio' src='"+soundURL+"' autoplay=true autostart=true>

  • IE-11 HTML5 Audio tags not working

    I have add mime type in web config as below
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />
            <mimeMap fileExtension=".ogg" mimeType="audio/ogg" />
            <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
        </staticContent>
    </system.webServer>
    All others browser is working well, but except IE-11
    The DOM display error INVALID SOURCE
    PLEASE ADVISE.
    Best Regards
    Dev - Nick

    I found 2 formats,supported by IE11: .m4a and .3ga
    <audio src="http://az3749.narod.ru/anna/soundE.3ga" type="audio/m4a" controls/>
    <audio src="http://az3749.narod.ru/anna/soundE.m4a" type="audio/m4a" controls/>
    also it is possible to rename .3ga to .m4a - it worked.

  • Flash player file working in HTML but same HTML code is not working in JDEV

    Hello,
    I have a flash player file which is working just fine in a plain HTML. But not working at all in Jdeveloper's .jspx file. I have no idea what is the issue. Please help.
    Below is the code snippet. There is no way I can format the code snippet for more visual clarity in this editor. So I have to live with all minified code when it displays on the posting. Sorry :(.
    Thanks, Ruchir
    <html version="-//W3C//DTD HTML 4.01 Transitional//EN">
    <link href="css/jdeveloper.css" rel="stylesheet" media="screen"/>
    <link href="css/oracle.css" rel="stylesheet" media="screen"/>
    <body bgcolor="Black">
    <br> </br>
    <table align="left">
    <tr>
    <td>
    <object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" ID="IncrediFlash" Width="560" Height="270">
    <param name="movie" value="cxs.swf?317338960"/>
    <param name="bgcolor" value="#000000"/>
    <!--<embed name="IncrediFlash" src="cxs.swf?317338960" bgcolor="#000000" width="560" height="270" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">-->
    </object>
    </td>
    </tr>
    </table>
    </body>
    </html>

    Don't have an answer for you, but you can put tags around your code so it's more readable... just use left-bracket code right-bracket and left-bracket code slash right-bracket around your code like this:
    <html version="-//W3C//DTD HTML 4.01 Transitional//EN"> 
    <link href="css/jdeveloper.css" rel="stylesheet" media="screen"/> 
    <link href="css/oracle.css" rel="stylesheet" media="screen"/> 
    <body bgcolor="Black">
    <table align="left"> <tr> <td>
    <object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"
    ID="IncrediFlash"
    Width="560" Height="270">
    <param name="movie" value="cxs.swf?317338960"/>
    <param name="bgcolor" value="#000000"/>
    <!--<embed name="IncrediFlash"
    src="cxs.swf?317338960"
    bgcolor="#000000"
    width="560" height="270" type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer">-->
    </object> </td> </tr>
    </table>
    </body>
    </html>John

  • My audio does not work on my pavilion dv4. i just bought this laptop a few days ago. what's going on

    my audio does not work on my pavilion dv4

    This worked for me.
    Hold down the option key while using the Finder “Go To Folder” command. Enter ~/Library/Preferences/com.apple.dashboard.plist.  Move the .plist to your desktop.
    Log out/in
    If it works, delete the .plist on your desktop.
    If  the same, return the .plist to where you got them from, overwriting the newer ones.
    If you prefer to make your user library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I had to use it again after I installed 10.8.4. I have also been informed that if you drag the user library to Finder it will remain visible.

  • My Facetime audio does not work on my MacBook

    My Facetime audio does not work on my MacBook, video is fine.  Volume set to max, internal mic is "on", mute is 'off'.  Advise

    While we all have MacBooks in this forum not all of us use FaceTime. There's a FaceTime Support Community where everybody uses FaceTime. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_app_store/facetime_for_mac

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

  • Realtek Audio is not working in Windows 8 x64 and 8.1 x64

    I bought MSI x79 gd 65 mainboard with 4930K i7 and GTx780 1 week ago.
    I downloaded windows 8 and latest bios, chipset and audio drivers: Audio didnt worked. Then i updated 8.1 still not worked.
    I tried to dowload windows 7 its worked but not with 8.
    Then i downloded 8.1 again and i started to try oldest versions like 2.72 - 2.71 they couldnt help too.
    I saw in one forum i was saying "make your realtek driver, windows 7 compatible" I tried and not worked.
    I saw another forum "close your nvidia audio" Not worked :(
    I saw another forum " Download oldest bios" Not worked
    Nearly i tried everything. I dont want to use windows 7. What can i do to fix that latest Realtek audio driver not working. Realtek manager can see my 2+1 sound system when i put the cable also when i test it sound bar moving but no sound. Please help me. I hope i can find solution in there.

    Update to the latest bios: https://forum-en.msi.com/index.php?topic=163918.msg1260356#msg1260356 (Follow the guide)
    >>Clear CMOS<<
    Afterwards update the Intel Management Engine Driver in Windows.
    Reboot and afterwards install current Realtek drivers: http://www.msi.com/service/download/driver-22481.html

  • Audio driver not working in hp 2000 - 2116tu laptop

    Audio driver not working in hp 2000 - 2116tu laptop
    Driver installed : sp57716.exe
    From : http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-106718-1&cc=us&dlc=en&lc=en...
    OS : Windows 7 Pro x64
    Exact Problem : Audio stops working now, and then, intially reinstalling audio driver helped, but now, that trick is also not working!! I'm nither on mute, nor on low volume level!!
    Laptop is brand new : And i'm using it from last 2 days only, so was installing everything for the first time.

    Hi architsomani,
    Take a look at this document and let me know if the troubleshooting steps help to resolve your issue.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Just got this Laptop and the audio is not working for videos

    My operating system is Windows 8.1 with Bing. I just got this laptop computer for my college work and love it, but my audio does not work when I watch Videos.  The laptop makes a weird tappign noise often. I need my audio to work for my course work online. The audio when I watch videos online either does not work at all or it breaks up as I am handling the laptop in the m hands. I have already did troubleshooting tests on the laptop and it can not find any problems but I know something is not right due to the noise and now my audio not working Please help me or tell me how HP can fix my laptop in a speedy mannor. It needs to go to the shop. That noise irritates me and I know that any kind of laptop pc is not suppose to make noises like that. The audio must work for my to complete my college homework and classwork online.
    Thank you for any assistance you may be able t give me. Lindsay

    Scroll down on the page and fill out the form to contact HP Warranty Support:
    https://support.hp.com/us-en/contact-hp/product/HP-15-r000-Notebook-PC-series/6875200/model/7531307
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • XPS 8700, audio is not working

    Hi,
    I got this new desktop last month. From the beginning the audio is not working. When I tried installing the drivers from the dell site, I get this error. My system details are:
    XPS 8700 (Mid 2013)
    <private data>
    When I install this:
    Audio_CREATIVE_W7_W8_W81_A00_Setup-241T2_ZPE.exe
    I get the error setup is unable to install.
    When I install this:
    XPS-8700_Audio_Driver_313J8_WN_6.0.1.6909_A01.EXE 
    I get this error =
    Vendor Software Return Code: 3
    [04/01/15 10:16:01] logo.png
    [04/01/15 10:16:01] Name of Exit Code: DEP_SOFT_ERROR
    [04/01/15 10:16:01] Exit Code set to: 3 (0x3)
    [04/01/15 10:16:01] Result: FAILURE
    [04/01/15 10:16:09] Open file: C:\ProgramData\Dell\UpdatePackage\Log\XPS-8700_Audio_Driver_313J8_WN_6.0.1.6909_A01.txt
    Please tell me what to do

    The audio loaded correctly. Plug speakers or head phones (not wireless head phones) into the rear green audio jack. Then the red arrow should disappear under Sound- Playback Speakers.
    The KM632 USB adapter should be unplugged, then plugged back into a USB port on the rear of the XPS 8700.
    Do that and see if these change.

  • Beats audio is not working

    I updated the operating system to Windows 8.1 and at now Beats Audio is not working. What should i do? My notebook is HP Envy 6-1101er.

    i may be able to help you if you give me your laptops full name and product number

  • System Audio Is Not Working: Error AppleLegacyAudio/AppleTexas2Audio.cpp

    Hello,
    I noticed last night that my audio has stopped working, both input and output. After checking the system log, this is the message that is repeated numerous times:
    *Nov 19 13:04:03 sylvesters-powerbook-g4-17 kernel[0]: ^PSound assertion "0 != err" failed in "AppleLegacyAudio/AppleTexas2Audio/AppleTexas2Audio.cpp" at line 2703 goto Exit
    Is the reason the audio is not working simply a matter of a missing file or do I need to completely reinstall the OS? I have a back up that I can quickly copy files from.
    Thank you very much.

    Hello,
    Try deleting this file: com.apple.audio.DeviceSettings.plist
    /Users/YourName/Library/Preferences. Drag that .plist file from the Preferences folder to the trash, empty the trash and reboot. See if your audio works as it should. If not... might want to do an Archive and Install:
    Reinstalling Mac OS X
    Under some circumstances, you may need to reinstall Mac OS X. You can reinstall Mac OS X while keeping your files and user settings intact.
    Insert the Mac OS X Install Disc and double-click the Install Mac OS X icon.
    Follow the onscreen instructions. In the panel where you select the destination disk, select your current Mac OS X disk (in most cases, it will be the only one available).
    Click Options. *If you want to save your existing files, users, and network settings, select "Archive and Install," then select "Preserve Users and Network Settings.*" If you want to erase everything on your computer and reinstall Mac OS X, select "Erase and Install." You can't recover erased data.
    Click Continue.
    Click Customize to select which parts of Mac OS X you'd like to install, or click Install to perform a basic installation (recommended).
    If you purchased a standalone version of Mac OS X, these installation instructions are in a booklet included with Mac OS X.
    If you need to reinstall the version of Mac OS X that was on your computer when you purchased it, or if you need to restore all the software on your computer, including Apple, bundled third-party applications, and printer drivers, instructions are in the manual that came with your computer.
    For more information, visit the Mac OS X Install and Upgrade Support website at:
    Mac OS Tiger Install
    Carolyn

  • Audio is not working

    I accidentally deleted IDT audio from the contol panel. Because of this, the audio is not working. Therefore, I tried downloading it again but my laptop responded with [error, declined, your computer does not reach the requirement ect] 
    Just to clarify I have a laptop windows 7 and I bought it for nearly 2 years now. 

    Hi 3la,  and welcome to the HP Forums! 
    I understand that you deleted your IDT audio from the control panel and now your audio is not working. I will try my best to help you with this problem. To better assist you, could you please tell me your model number of your laptop. Here is a guide for How Do I Find My Model Number or Product Number? In case you need it.
    I am including this document in hopes that it may help resolve your issue. 
    Using Recovery Manager to Restore Software and Drivers (Windows 7)
    Please let me know and I will be happy to help.
    Thank you and have a great day!
    I worked on behalf of HP.

Maybe you are looking for