
Steps for creating Play, Pause & Stop buttons: Open that file and add the following code:īackground: -moz-linear-gradient(left, #78284a 0%, #6d8a9f 100%) /* FF3.6+ */īackground: -webkit-gradient(linear, left top, right top, color-stop(0%,#78284a), color-stop(100%,#6d8a9f)) /* Chrome,Safari4+ */īackground: -webkit-linear-gradient(left, #78284a 0%,#6d8a9f 100%) /* Chrome10+,Safari5.1+ */īackground: -o-linear-gradient(left, #78284a 0%,#6d8a9f 100%) /* Opera 11.10+ */īackground: -ms-linear-gradient(left, #78284a 0%,#6d8a9f 100%) /* IE10+ */īackground: linear-gradient(to right, #78284a 0%,#6d8a9f 100%) /* W3C */īackground:url(./images/knob.png) no-repeat īackground:url(./images/play.png) no-repeat īackground:url(./images/pause.png) no-repeat īackground:url(./images/stop.png) no-repeat īackground:url(./images/prev.png) no-repeat īackground:url(./images/next.png) no-repeat īackground:url(./images/progress_bg.png) no-repeat īackground:url(./images/progress.png) no-repeat For that, open your css folder and inside that you will see your style.css file.
#Html5 audio play code
#Html5 audio play download

We will also include a progress-bar with time, as well as create a playlist of the songs added. We will add features like Play, Previous, Next, Pause, Stop and Volume control. We are going to incorporate HTML5 audio features as well as JavaScript and jQuery.

In this article, we are going to build an audio player using HTML5.
