You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

75 lines
1.9 KiB

<!doctype html>
<html lang="bg">
<head>
<meta charset="utf-8">
<title>Радио онлайн</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Blagovest Petrov">
<meta name="description" content="Българско радио онлайн">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar" id="top">
<div class="inner">
<a href="https://petrovs.info">About</a>
</div>
</nav>
<header class="container">
<section class="content">
</section>
</header>
<div id="app"></div>
<script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script>
<script>
const Webamp = window.Webamp;
const webamp = new Webamp({
initialTracks: [
{
metaData: {
artist: "Хоризонт",
title: "БНР"
},
url: "bnr/horizont",
duration: 999
},
{
metaData: {
artist: "Христо Ботев",
title: "БНР"
},
url: "bnr/HristoBotev",
},
{
metaData: {
artist: "Радио София",
title: "БНР"
},
url: "bnr/RadioSofia",
},
{
metaData: {
artist: "Тангра Мега Рок",
},
url: "http://stream-bg-01.radiotangra.com:8000/Tangra-high",
},
{
metaData: {
artist: "Дарик",
},
url: "darik",
},
],
});
webamp.renderWhenReady(document.getElementById('app'));
</script>
</body>
</html>