SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Playing Music Cross browser - HTML5

    Hi

    I am experimenting with playingmusic on an HTML5 site... this doesn't work on mobiles, what can I do to make this work cross platform with up to date code?

    Code:
    <audio controls preload="auto" autobuffer> 
      <source src="track.mp3" />
    </audio>

  2. #2
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Managed to get this working on android and iphone now.

    However, firefox needs .OGG ?

    I have tried to convert a 1mg .mp3 file, but any converter I use converts the file to a 15mb .OGG file.

    Frustrating!


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
  •