Cant auto play audio in iPad safari...

Discussion in 'iPad Development' started by kristievalerie, Aug 21, 2010.

  1. kristievalerie
    Offline

    kristievalerie iPF Noob

    Joined:
    Aug 21, 2010
    Messages:
    1
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    HK
    Ratings:
    +0 / 0
    I have write a script to play, its fail, how to write a script to auto play audio in ipad? audio only can play when i click link, it can not auto play, even i put into bady onload. :confused:


    <audio src="alert.mp3" id="audio" autobuffer="autobuffer" autoplay="autoplay"></audio>
    <script type="text/javascript">
    function playAudio() {
    var audio = document.getElementById('audio');
    audio.play();
    }
    playAudio();
    </script>
    <a href="javascript: playAudio()" id="clickme">hit me</a>

Share This Page

Search tags for this page

auto play audio in ipad

,
auto play audio on ipad
,

autoplay audio ipad

,

autoplay audio on a ipad

,
cant get sound on ipad 2 in safari
,

how to enable no sound on safari ipad

,
how to get sound for safari on ipad
,
html code for safari mp3 auto play
,
ipad html audio autoplay
,
ipad play sound safari
,

ipad safari no sound

,

no sound ipad safari

,

no sound on ipad safari

,

no sound on safari ipad

,

no sound on safari on ipad

,
safari auto play sound
,
safari autoplay
,
safari autoplay audio 2013
,

safari cant download audio on ipad

,

safari no sound ipad