I have a livestream, that I want to play on my HTA application.
I have tried using this answer.
<head>
<title>Main</title>
<meta http-equiv="x-ua-compatible" content="ie=edge" />
</head>
<body>
<bgsound>
<button onclick="playSound()">Play</button>
<script language="javascript">
function playSound() {
document.getElementsByTagName("bgsound")[0].src = "https://www.url.org/stream";
}
</script>
</body>
</html>
(yes I'm missing a lot, but that shouldn't prevent it from running)
I press play, and nothing happens. How do I get it working?