1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

using javascript to play audio on ipad

Discussion in 'iPad Development' started by john love, Nov 4, 2010.

  1. john love
    Offline

    john love iPF Noob

    Joined:
    Nov 4, 2010
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Rather than repeat a long javascript for playing audio, here is the link: webpages.charter.net/jolove/Includes/play_song.js.

    This plays for any desktop browser (Mac or Windows), but not for my iPad.

    Here is the calling website: webpages.charter.net/jolove/Escort_Folder/Dedication_Poem_iOS.html

    This is really bugging me, so I would definitely appreciate any help on this, any help at all.

    John Love
  2. Draco18s
    Offline

    Draco18s iPF Noob

    Joined:
    Dec 1, 2011
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Old thread is old, but I thought I'd at least drop an answer in here for future generations:

    Audio on the ipad CANNOT and WILL NOT autoplay via javascript or anything else on the iPad, as there is an iOS level restriction that requires the user to interact with the audio element before it will download, as to not incur datarate charges for 3G network usage without the user's consent.

    The audio element simply doesn't exist until the user clicks on it (and no, making your own button for the user to click on doesn't count).

Share This Page

Search tags for this page
apple safari play sound javascript
,
apple safari play sound javascript ipad
,
audio not loading through js on ipad
,
how toget auto repeat audio player on apple ipad
,
html audio in ipad
,

html ipad play sound

,

html play sound on ipad

,
ipad browser javascript play audio
,
ipad code to play audio track
,

ipad html audio

,
ipad html sounds
,

ipad javascript play sound

,

javascript audio player for ipad

,
javascript play a sound onclick on an ipad
,
javascript play sound iphone4
,

javascript playing a sound on ipad

,
javascript playing audio on ipad
,
play audio using javascript in ipad
,
playing audio with javascript on ipad
,
website audio does not play in ipad