First thank you all for showing interest. Okay here is my code
HTML page where iFrame is used to play sound
default.html
<html>
<head>
<link href="/css/default.css" rel="stylesheet" />
<script src="/js/default.js"></script>
</head>
<body>
<iframe src="bhMusic.html" style="display:none;"></iframe>
</body>
</html>
Note: display:none
bhMusic.html
<html>
<head>
</head>
<body>
<audio src="/sounds/preview-scrap.mp3" controls="controls" autoplay="" loop="" />
</body>
</html>
I am showing default.html where Iframe is used. and I dont want to display that iframe. Now if I want to stop playing sound. what should I do?
Thank you.