并且在chrome中,autostart="false"也不起作用。

解决方案 »

  1.   

    chrome中只能用html5的audio标签。
      

  2.   

    自己找到答案了,给大家参考。chrome可以正常运行。<!doctype html><head>
        <meta charset="utf-8" />
        <title>HTML5 Document</title>
        <script>
    function playClicked(element)
    {
    //get the state of the player
    if(audio_player.paused)
    {
    audio_player.play();
    newdisplay = "| |";
    }else{
    audio_player.pause();
    newdisplay = ">";
    }
    element.value=newdisplay;
    }
    </script>
    </head>
    <body>
    <audio controls="controls" id="audio_player">
     <source src="alert.wav" >
    </audio>
    <input type="button" onclick="playClicked(this)" value=">">
    </body>
    </html>
      

  3.   

    lz给的答案是不要embed标签了吗?