How to have two html audio players on one page?

May 3, 2022
Reaction score
I would like to have two html audio players in a table, looking like this:
So far I have only one working player. Also, cell is too high because of something about player and player is not in the middle of a cell. So far I have this: Can you help me please with a code to have erything as in the picture? And are there some parts of a code that I can remove? Thank you!

<!doctype html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Circular Html5 Audio Player Demo</title>
    <link href="" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="">
    html { min-height:100vh;}
    body { background-color:#fafafa; font-family:'Roboto';}
    .container { margin:150px auto; max-width:960px;}
    .mediPlayer { float:left; margin:20px;}
<table width="400" border="1" align="center">
  <tr valign="top">
    <td width="33%"><div align="center">
        <!-- Media Player-->
        <div class="mediPlayer"> <audio class="listen" preload="none" data-size="50" src=""></audio>
        <!-- Media Player / -->
        <script src=""></script>
        <script src=""></script>
    $(document).ready(function () {
        <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36251023-1']);
  _gaq.push(['_setDomainName', '']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    <td width="33%"><div align="center">
  <tr valign="top">
    <td><div align="center">320 kbps</div></td>
    <td><div align="center">96 kbps</div></td>


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question