SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict sdleihssirhc's Avatar
    Join Date
    Feb 2009
    Posts
    387
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    <audio> in Safari 4 Win?

    When I view this web page in my Windows 7 Safari 4.0.5...

    HTML Code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8" />
    <title>Audio Test</title>
    </head>
    <body>
    <audio src="FurElise.ogg" controls="controls">nothin</audio>
    </body>
    </html>
    ...I get a white page that says 'nothin'. It works in Firefox 3.6 and Opera 10.53, but not Safari. And yet, everywhere I look, people talk about Safari supporting the audio tag. Is this only on Macs, or am I doing something wrong?

    (live example)
    Last edited by sdleihssirhc; May 10, 2010 at 09:56. Reason: tested in other browsers

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Ogg isn't supported in safari. Only MP3 and Wav are.

    http://html5doctor.com/native-audio-in-the-browser/
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Addict sdleihssirhc's Avatar
    Join Date
    Feb 2009
    Posts
    387
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Oi. I feel kind of silly. Thank you.

  4. #4
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you get "nothin" then you probably don't have QuickTime installed. QuickTime is required to make <audio> work in Safari.

    You can get Ogg to work in Safari by installing XiphQT. http://xiph.org/quicktime/
    Simon Pieters

  5. #5
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by zcorpan View Post
    You can get Ogg to work in Safari by installing XiphQT. http://xiph.org/quicktime/
    I think the idea is to be able to get audio files to work natively without the user needing to install extra software.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •