Linas
Linas

Reputation: 17

Audio.js | How to make it show only Play/Pause button

So I have installed audio.js on my website. All works ok. I want it to change how it looks. Actually, I want that it would appear only as Play button (or play/pause button). Or in other words: I want to hide progress bar and "time passed | time remaining". How can I do this?

Upvotes: 0

Views: 2126

Answers (1)

mudin
mudin

Reputation: 2852

audiojs has settings that u can customize the style and markup, please refer to the documentation

If you wanna use default class names, you can overwrite their styles by adding css something like this:

.audiojs .scrubber { 
display: none; 
} 

There is the working source code link: https://jsfiddle.net/qp5xjxb9/3/

Upvotes: 0

Related Questions