JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://imapo.ru//js/mediaelement-and-player.min.js"></script>
<div class="audio-player">
<h1>Здесь название</h1>
<img class="cover" src="http://1pvk.ru/images/logo.png" alt="" width="64">
<audio id="audio-player" src="http://78.129.224.19:26450/;stream.nsv" type="audio/mp3" controls="controls"></audio>
</div>
CSS
.audio-player,
.audio-player div,
.audio-player h1,
.audio-player a,
.audio-player img,
.audio-player span,
.audio-player button {
margin: 0;
padding: 0;
border: none;
outline: none;
}
div.audio-player {
position: relative;
width: 400px;
height: 120px;
background: #4c4e5a;
background: -webkit-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
background: -moz-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
background: -o-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
background: -ms-linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
background: linear-gradient(top, #4c4e5a 0%, #2c2d33 100%);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/* Title */
.audio-player h1 {
position: absolute;
top: 37px;
left: 165px;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 14px;
color: #ececec;
text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}
/* Cover */
.audio-player .cover {
position: absolute;
top: 0;
left: 0;
}
/* Buttons */
.mejs-controls .mejs-button button {
cursor: pointer;
display: block;
position: absolute;
text-indent: -9999px;
}
/* Play & Pause */
.mejs-controls .mejs-play button,
.mejs-controls .mejs-pause button {
width: 21px;
height: 21px;
top: 35px;
left: 135px;
background: transparent url(http://imapo.ru/img/play-pause.png) 0 0;
}
.mejs-controls .mejs-pause button {
background-position: 0 -21px;
}
/* Mute & Unmute */
.mejs-controls .mejs-mute button,
.mejs-controls .mejs-unmute button {
width: 14px;
height: 12px;
top: 70px;
left: 140px;
background: transparent url(http://imapo.ru/img/mute-unmute.png) 0 0;
}
.mejs-controls .mejs-unmute button {
background-position: 0 -12px;
}
/* Volume Slider */
.mejs-controls div.mejs-horizontal-volume-slider {
position: absolute;
top: 71px;
left: 165px;
cursor: pointer;
}
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
width: 200px;
height:...
JavaScript
$(document).ready(function() {
$('#audio-player').mediaelementplayer({
alwaysShowControls: true,
features: ['playpause', 'volume', 'progress'],
audioVolume: 'horizontal',
audioWidth: 400,
audioHeight: 120
});
});