How to design customized audio player with HTML

后端 未结 3 1256
悲&欢浪女
悲&欢浪女 2021-02-03 14:53

I have a layout for an audio player that I\'d like to use with the HTML audio player element.

I was trying , and it\'s g

3条回答
  •  一个人的身影
    2021-02-03 15:12

    As I know, you can't style the default player but you can create a custom player (based on your audio tag) using a plugin such as plyr.io, you can edit the plugin's style as you wish.

    For example:

    plyr.setup(document.querySelectorAll('.js-plyr'), {});
    
    
    
    

    http://jsbin.com/zajeji/edit?html,js,output

提交回复
热议问题