Hi All.
I save simple script to play mp3 file on click of button.
it works well on local.
but when i upload on server it does not. Do i need to install any library to support this related with sound ?
<html>
<head>
<script language="javascript">
function playIt()
{
   document.getElementById("embed").innerHTML="<embed src='280.mp3' autostart=true loop=false volume=100 hidden=true>";
   return true;
}
</script>
</head>
<body>
    <form action="" method="post">
         <button type="button" onclick="playIt()">play</button>
        <div id="embed"></div>
    </form>
</body>
</html>
Thanks & Regards,
Vijay Ahire